2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-26 03:19:48 +00:00

Move kickstart.custom fetch to before pre.d

Allow custom scripts to further customize kickstart.custom
by modifying /tmp/kickstart.custom
This commit is contained in:
Jarrod Johnson 2021-07-12 09:23:01 -04:00
parent 71d8b89a57
commit 101b5685d1

View File

@ -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