diff --git a/confluent_osdeploy/esxi7/profiles/hypervisor/scripts/getinstalldisk b/confluent_osdeploy/esxi7/profiles/hypervisor/scripts/getinstalldisk index 6e3c710a..c66b7103 100644 --- a/confluent_osdeploy/esxi7/profiles/hypervisor/scripts/getinstalldisk +++ b/confluent_osdeploy/esxi7/profiles/hypervisor/scripts/getinstalldisk @@ -124,6 +124,11 @@ def main(): with open('/tmp/storagecfg', 'w') as sc: sc.write(f'clearpart --all --drives={nd[0]} --overwritevmfs\n') sc.write(f'install --drive={nd[0]} --overwritevmfs\n') + else: + with open('/tmp/storagecfg', 'w') as sc: + sc.write(f'clearpart --firstdisk --overwritevmfs\n') + sc.write(f'install --firstdisk --overwritevmfs\n') + if __name__ == '__main__': main()