From 0a2ab341a8cd34b6dc81af654d33c7ce8f5cbd84 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 4 Jun 2020 15:16:45 -0400 Subject: [PATCH] Increase root directory size ESXi demands a lot of files, increase the root directory by a large amount to fit esxi. --- confluent_client/bin/dir2img | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_client/bin/dir2img b/confluent_client/bin/dir2img index 233f4e55..362b2c77 100644 --- a/confluent_client/bin/dir2img +++ b/confluent_client/bin/dir2img @@ -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)))