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