2020-06-11 10:29:22 -04:00
|
|
|
#!/bin/sh
|
2021-01-05 15:32:46 -05:00
|
|
|
mv /etc/confluent/confluent.deploycfg /etc/confluent/confluent.newdeploycfg
|
2020-06-11 10:29:22 -04:00
|
|
|
/opt/confluent/bin/apiclient /confluent-public/os/$profile/scripts/makeksnet >> /tmp/makeksnet
|
2021-01-05 15:32:46 -05:00
|
|
|
mv /etc/confluent/confluent.newdeploycfg /etc/confluent/confluent.deploycfg
|
2020-06-11 10:29:22 -04:00
|
|
|
chmod +x /tmp/makeksnet
|
2020-06-12 12:13:31 -04:00
|
|
|
/tmp/makeksnet > /tmp/ksnet
|
2020-06-11 10:29:22 -04:00
|
|
|
rootpw=$(grep ^rootpassword: /etc/confluent/confluent.deploycfg|sed -e 's/^rootpassword: //')
|
2020-06-12 11:36:56 -04:00
|
|
|
echo rootpw --iscrypted $rootpw > /tmp/rootpw
|
2020-06-11 10:29:22 -04:00
|
|
|
export BOOT_CMDLINE=ks=/etc/confluent/ks.cfg
|