mirror of
https://github.com/xcat2/confluent.git
synced 2024-12-23 19:52:10 +00:00
Increase root directory size
ESXi demands a lot of files, increase the root directory by a large amount to fit esxi.
This commit is contained in:
parent
58e7a1f0b4
commit
0a2ab341a8
@ -24,7 +24,7 @@ def create_image(directory, image):
|
||||
with open(image, 'wb') as imgfile:
|
||||
imgfile.seek(datasz * 512 - 1)
|
||||
imgfile.write(b'\x00')
|
||||
subprocess.check_call(['mformat', '-i', image, '-d', '1', '-t',
|
||||
subprocess.check_call(['mformat', '-i', image, '-r', '16', '-d', '1', '-t',
|
||||
str(datasz), '-s', '1','-h', '1', '::'])
|
||||
cpycmd = ['mcopy', '-i', image, '-s']
|
||||
cpycmd.extend(glob.glob('{0}/*'.format(directory)))
|
||||
|
Loading…
Reference in New Issue
Block a user