#!/bin/sh /opt/confluent/bin/apiclient /confluent-public/os/$profile/scripts/makeksnet >> /tmp/makeksnet chmod +x /tmp/makeksnet /tmp/makeksnet > /tmp/ksent 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