From 48ac07e71dc747a58cf448e7921776e0d37bce33 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 8 Nov 2022 11:33:43 -0500 Subject: [PATCH] Correct placement of initialization of the confluent_websrv variable --- .../usr/lib/dracut/hooks/cmdline/10-confluentdiskless.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_osdeploy/el8-diskless/initramfs/usr/lib/dracut/hooks/cmdline/10-confluentdiskless.sh b/confluent_osdeploy/el8-diskless/initramfs/usr/lib/dracut/hooks/cmdline/10-confluentdiskless.sh index c8502200..fd3cf6f4 100644 --- a/confluent_osdeploy/el8-diskless/initramfs/usr/lib/dracut/hooks/cmdline/10-confluentdiskless.sh +++ b/confluent_osdeploy/el8-diskless/initramfs/usr/lib/dracut/hooks/cmdline/10-confluentdiskless.sh @@ -276,6 +276,7 @@ EOC fi echo '[proxy]' >> /run/NetworkManager/system-connections/$ifname.nmconnection chmod 600 /run/NetworkManager/system-connections/*.nmconnection +confluent_websrv=$confluent_mgr if [[ $confluent_websrv == *:* ]]; then confluent_websrv="[$confluent_websrv]" fi @@ -302,7 +303,6 @@ for addr in $(grep ^MANAGER: /etc/confluent/confluent.info|awk '{print $2}'|sed fi done mkdir -p /etc/confluent -confluent_websrv=$confluent_mgr curl -sf https://$confluent_websrv/confluent-public/os/$confluent_profile/scripts/functions > /etc/confluent/functions . /etc/confluent/functions source_remote imageboot.sh