From b6c017ef1a58acb9ff3b7702dd3e9456502290e8 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 18 Jun 2020 13:50:27 -0400 Subject: [PATCH] Adjust some paths for compatibility The profile expectations were not being met --- .../initramfs/usr/lib/dracut/hooks/pre-pivot/01-confluent.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/confluent_osdeploy/rhvh4/initramfs/usr/lib/dracut/hooks/pre-pivot/01-confluent.sh b/confluent_osdeploy/rhvh4/initramfs/usr/lib/dracut/hooks/pre-pivot/01-confluent.sh index 63bf8f55..fc22d8b4 100644 --- a/confluent_osdeploy/rhvh4/initramfs/usr/lib/dracut/hooks/pre-pivot/01-confluent.sh +++ b/confluent_osdeploy/rhvh4/initramfs/usr/lib/dracut/hooks/pre-pivot/01-confluent.sh @@ -17,7 +17,8 @@ mkdir -p /sysroot/etc/ssh/ for i in /ssh/*.ca; do echo '@cert-authority *' $(cat $i) >> /sysroot/etc/ssh/ssh_known_hosts done -cp /etc/confluent.apikey /sysroot/etc/ -cp /etc/confluent.apikey /sysroot/etc/confluent/ +cp /etc/confluent/confluent.apikey /sysroot/etc/ +cp /etc/confluent/confluent.apikey /sysroot/etc/confluent/ +cp /etc/confluent/confluent.deploycfg /sysroot/etc/ cp /opt/confluent/bin/apiclient /sysroot/etc/confluent cp /tmp/confluent.deploycfg /etc/confluent/* /sysroot/etc/confluent