diff --git a/confluent_osdeploy/esxi7/initramfs/bin/dcuiweasel b/confluent_osdeploy/esxi7/initramfs/bin/dcuiweasel index e2e47ef1..a573bc4d 100644 --- a/confluent_osdeploy/esxi7/initramfs/bin/dcuiweasel +++ b/confluent_osdeploy/esxi7/initramfs/bin/dcuiweasel @@ -22,6 +22,6 @@ profile=$(grep ^profile: /etc/confluent/confluent.deploycfg | sed -e 's/^profile chmod +x /tmp/makeksnet /tmp/makeksnet > /tmp/ksnet rootpw=$(grep ^rootpassword: /etc/confluent/confluent.deploycfg|sed -e 's/^rootpassword: //') -echo rootpw --iscrypted $rootpw > /tmp/rootpw -export BOOT_OPTIONS=ks=/etc/confluent/ks.cfg -exec /bin/install \ No newline at end of file +echo rootpw --iscrypted $rootpw > /tmp/rootuser +export BOOT_CMDLINE=ks=/etc/confluent/ks.cfg +exec /bin/install diff --git a/confluent_server/confluent/osimage.py b/confluent_server/confluent/osimage.py index 87aecaa5..c41438eb 100644 --- a/confluent_server/confluent/osimage.py +++ b/confluent_server/confluent/osimage.py @@ -75,7 +75,7 @@ def update_boot_esxi(profiledir, profile, label): else: newbootcfg += cfgline + '\n' os.makedirs('{0}/boot/efi/boot/'.format(profiledir)) - with open('{0}/boot/efi/boot/BOOT.CFG'.format(profiledir), 'w+') as bcfg: + with open('{0}/boot/efi/boot/boot.cfg'.format(profiledir), 'w+') as bcfg: bcfg.write(newbootcfg) os.symlink('/var/lib/confluent/public/site/initramfs.tgz', '{0}/boot/site.tgz'.format(profiledir))