2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-01-28 03:48:35 +00:00

Avoid overwriting customized installdisk or partitioning

This commit is contained in:
Jarrod Johnson 2021-04-22 12:12:58 -04:00
parent 6d1348f5fa
commit c38aac88df

View File

@ -74,8 +74,10 @@ curl -f https://$mgr/confluent-public/os/$profile/scripts/functions > /tmp/funct
. /tmp/functions
run_remote pre.custom
run_remote_parts pre
run_remote_python getinstalldisk
if [ -e /tmp/installdisk ]; then
run_remote_python getinstalldisk
fi
if [ -e /tmp/installdisk -a ! -e /tmp/partitioning ]; then
echo clearpart --all --initlabel >> /tmp/partitioning
echo ignoredisk --only-use $(cat /tmp/installdisk) >> /tmp/partitioning
echo autopart --nohome $LUKSPARTY >> /tmp/partitioning