From 101b5685d118dd3c4fc9cf7d668a934e20e8b2fd Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Mon, 12 Jul 2021 09:23:01 -0400 Subject: [PATCH] Move kickstart.custom fetch to before pre.d Allow custom scripts to further customize kickstart.custom by modifying /tmp/kickstart.custom --- confluent_osdeploy/el8/profiles/default/scripts/pre.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_osdeploy/el8/profiles/default/scripts/pre.sh b/confluent_osdeploy/el8/profiles/default/scripts/pre.sh index 2a97aedf..85eabb48 100644 --- a/confluent_osdeploy/el8/profiles/default/scripts/pre.sh +++ b/confluent_osdeploy/el8/profiles/default/scripts/pre.sh @@ -76,6 +76,7 @@ fi export confluent_mgr confluent_profile nodename curl -sf https://$confluent_mgr/confluent-public/os/$confluent_profile/scripts/functions > /tmp/functions . /tmp/functions +$python /etc/confluent/apiclient /confluent-public/os/$confluent_profile/kickstart.custom -o /tmp/kickstart.custom run_remote pre.custom run_remote_parts pre.d if [ ! -e /tmp/installdisk ]; then @@ -93,5 +94,4 @@ elif [ -e /usr/bin/python3 ]; then else python=/usr/bin/python fi -$python /etc/confluent/apiclient /confluent-public/os/$confluent_profile/kickstart.custom -o /tmp/kickstart.custom kill $logshowpid