From 7e2ae4de6220e99fae5a2df25a7aa84e5f3107d2 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 9 Dec 2022 10:11:09 -0500 Subject: [PATCH] Restore ipv4-only media based deployment --- confluent_osdeploy/el8/profiles/default/kickstart | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/confluent_osdeploy/el8/profiles/default/kickstart b/confluent_osdeploy/el8/profiles/default/kickstart index b7052bcd..0fc20d83 100644 --- a/confluent_osdeploy/el8/profiles/default/kickstart +++ b/confluent_osdeploy/el8/profiles/default/kickstart @@ -63,7 +63,12 @@ fi if [ -z "$confluent_mgr" ]; then confluent_mgr=$(grep ^deploy_server_v6: /etc/confluent/confluent.deploycfg) confluent_mgr=${confluent_mgr#deploy_server_v6: } - confluent_mgr="[$confluent_mgr]" + if [ -z "$confluent_mgr" ]; then + confluent_mgr=$(grep ^deploy_server: /etc/confluent/confluent.deploycfg) + confluent_mgr=${confluent_mgr#deploy_server: } + else + confluent_mgr="[$confluent_mgr]" + fi fi confluent_profile=$(grep ^profile: /etc/confluent/confluent.deploycfg |awk '{print $2}') curl -f https://$confluent_mgr/confluent-public/os/$confluent_profile/scripts/pre.sh > /tmp/preinst.sh