2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-23 10:02:04 +00:00
confluent/confluent_osdeploy/esxi7/profiles/hypervisor/scripts/modinstall

8 lines
365 B
Plaintext
Raw Normal View History

#!/bin/sh
/opt/confluent/bin/apiclient /confluent-public/os/$profile/scripts/makeksnet >> /tmp/makeksnet
chmod +x /tmp/makeksnet
/tmp/makeksnet >> /etc/confluent/ks.cfg
rootpw=$(grep ^rootpassword: /etc/confluent/confluent.deploycfg|sed -e 's/^rootpassword: //')
echo rootpw --iscrypted $rootpw >> /etc/confluent/ks.cfg
export BOOT_CMDLINE=ks=/etc/confluent/ks.cfg