diff --git a/confluent_osdeploy/el8/initramfs/usr/lib/dracut/hooks/initqueue/01-confluent.sh b/confluent_osdeploy/el8/initramfs/usr/lib/dracut/hooks/initqueue/01-confluent.sh index ba8fb79b..f3fec37b 100644 --- a/confluent_osdeploy/el8/initramfs/usr/lib/dracut/hooks/initqueue/01-confluent.sh +++ b/confluent_osdeploy/el8/initramfs/usr/lib/dracut/hooks/initqueue/01-confluent.sh @@ -27,11 +27,11 @@ if [ -z "$apikey" ]; then fi oum=$(umask) umask 0077 +mkdir /etc/confluent echo $apikey > /etc/confluent.apikey umask $oum mgr="[$mgr]" -mkdir /etc/confluent -cp /tmp/confluent.info /etc/confluent/ +cp /tmp/confluent.info /etc/confluent.apikey /etc/confluent/ /usr/libexec/platform-python /opt/confluent/bin/apiclient /confluent-api/self/deploycfg > /tmp/confluent.deploycfg dnsdomain=$(grep ^dnsdomain: /tmp/confluent.deploycfg)