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