mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-25 02:52:07 +00:00
8 lines
342 B
Bash
8 lines
342 B
Bash
#!/bin/sh
|
|
/opt/confluent/bin/apiclient /confluent-public/os/$profile/scripts/makeksnet >> /tmp/makeksnet
|
|
chmod +x /tmp/makeksnet
|
|
/tmp/makeksnet > /tmp/ksnet
|
|
rootpw=$(grep ^rootpassword: /etc/confluent/confluent.deploycfg|sed -e 's/^rootpassword: //')
|
|
echo rootpw --iscrypted $rootpw > /tmp/rootpw
|
|
export BOOT_CMDLINE=ks=/etc/confluent/ks.cfg
|