mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-23 10:02:04 +00:00
8 lines
365 B
Plaintext
8 lines
365 B
Plaintext
|
#!/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
|