From 7aca7a19f9fc206e7094b0f7f402b0bb1a7e9289 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 15 Jun 2022 16:42:50 -0400 Subject: [PATCH] Install apiclient in a normal location for EL7 --- confluent_osdeploy/el7/profiles/default/scripts/prechroot.sh | 2 ++ 1 file changed, 2 insertions(+) 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