From a21af719c26f1f130b07ab9a42537d30be6a8510 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Mon, 7 Nov 2022 11:43:51 -0500 Subject: [PATCH] Get ipv6 compatible deploycfg api call --- .../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 e9034c30..33eacbb3 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 @@ -123,7 +123,7 @@ while [ $ready = "0" ]; do confluent_mgr="[$confluent_mgr]" fi tmperr=$(mktemp) - curl -sSf -H "CONFLUENT_NODENAME: $nodename" -H "CONFLUENT_APIKEY: $confluent_apikey" https://$confluent_mgr/confluent-api/self/deploycfg > /etc/confluent/confluent.deploycfg 2> $tmperr + curl -sSf -H "CONFLUENT_NODENAME: $nodename" -H "CONFLUENT_APIKEY: $confluent_apikey" https://$confluent_mgr/confluent-api/self/deploycfg2 > /etc/confluent/confluent.deploycfg 2> $tmperr if grep 401 $tmperr > /dev/null; then confluent_apikey="" if [ -n "$lasthdl" ]; then