diff --git a/confluent_osdeploy/esxi7/profiles/hypervisor/kickstart b/confluent_osdeploy/esxi7/profiles/hypervisor/kickstart index 91823657..69b2dcfd 100644 --- a/confluent_osdeploy/esxi7/profiles/hypervisor/kickstart +++ b/confluent_osdeploy/esxi7/profiles/hypervisor/kickstart @@ -1,4 +1,6 @@ accepteula clearpart --firstdisk --overwritevmfs install --firstdisk --overwritevmfs +%include /tmp/ksnet +%include /tmp/rootpw reboot diff --git a/confluent_osdeploy/esxi7/profiles/hypervisor/scripts/modinstall b/confluent_osdeploy/esxi7/profiles/hypervisor/scripts/modinstall index 45c2a954..c3961abf 100644 --- a/confluent_osdeploy/esxi7/profiles/hypervisor/scripts/modinstall +++ b/confluent_osdeploy/esxi7/profiles/hypervisor/scripts/modinstall @@ -1,7 +1,7 @@ #!/bin/sh /opt/confluent/bin/apiclient /confluent-public/os/$profile/scripts/makeksnet >> /tmp/makeksnet chmod +x /tmp/makeksnet -/tmp/makeksnet >> /etc/confluent/ks.cfg +/tmp/makeksnet > /tmp/ksent rootpw=$(grep ^rootpassword: /etc/confluent/confluent.deploycfg|sed -e 's/^rootpassword: //') -echo rootpw --iscrypted $rootpw >> /etc/confluent/ks.cfg +echo rootpw --iscrypted $rootpw > /tmp/rootpw export BOOT_CMDLINE=ks=/etc/confluent/ks.cfg