Deploy kickstart on a tmp folder
This commit is contained in:
parent
d3e22282b6
commit
5bdabf6556
@ -11,11 +11,12 @@ shift
|
||||
|
||||
remote_command=$(
|
||||
cat <<CMD
|
||||
[ -d ~/kickstart ] && rm -rf ~/kickstart
|
||||
mkdir ~/kickstart
|
||||
cd ~/kickstart
|
||||
target=\$(mktemp -d -t kickstart.XXXXX)
|
||||
mkdir -p \$target
|
||||
cd \$target
|
||||
tar xz
|
||||
$prefix bash $debug install.sh
|
||||
rm -rf \$target
|
||||
CMD
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user