2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 09:32:21 +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:
Jarrod Johnson 2020-06-04 15:16:45 -04:00
parent 58e7a1f0b4
commit 0a2ab341a8

View File

@ -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)))