mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-23 01:53:28 +00:00
09db9f5a25
This make it easier to customize rather than being in addons.tgz
8 lines
365 B
Bash
8 lines
365 B
Bash
#!/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
|