diff --git a/confluent_osdeploy/el7/profiles/default/scripts/prechroot.sh b/confluent_osdeploy/el7/profiles/default/scripts/prechroot.sh index 51651124..530424b0 100644 --- a/confluent_osdeploy/el7/profiles/default/scripts/prechroot.sh +++ b/confluent_osdeploy/el7/profiles/default/scripts/prechroot.sh @@ -10,6 +10,8 @@ nodename=$(grep ^NODENAME /etc/confluent/confluent.info|awk '{print $2}') export confluent_mgr confluent_profile nodename cp -a /etc/confluent /mnt/sysimage/etc +mkdir -p /mnt/sysimage/opt/confluent/bin +cp /opt/confluent/bin/apiclient /mnt/sysimage/opt/confluent/bin/ chmod -R og-rwx /mnt/sysimage/etc/confluent cp /tmp/functions /mnt/sysimage/etc/confluent/ hostnamectl set-hostname $nodename