mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-25 11:01:09 +00:00
8c89deaa95
In ESXi flow, it is highly likely that IPv4 cannot be ready yet, delay a bit more.
10 lines
494 B
Bash
10 lines
494 B
Bash
#!/bin/sh
|
|
mv /etc/confluent/confluent.deploycfg /etc/confluent/confluent.newdeploycfg
|
|
/opt/confluent/bin/apiclient /confluent-public/os/$profile/scripts/makeksnet >> /tmp/makeksnet
|
|
mv /etc/confluent/confluent.newdeploycfg /etc/confluent/confluent.deploycfg
|
|
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
|