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:
parent
6d1348f5fa
commit
c38aac88df
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user