Renames variable on bootstrap script to not confuse with deployment host target. Also, prevents escaping of variables on the script to use literal $
This commit is contained in:
parent
0c7f0fe389
commit
181f40fabb
@ -5,13 +5,13 @@ target=$1
|
|||||||
shift
|
shift
|
||||||
|
|
||||||
remote_command=$(
|
remote_command=$(
|
||||||
cat <<CMD
|
cat <<\CMD
|
||||||
target=\$(mktemp -d -t kickstart.XXXXX)
|
installation_folder=$(mktemp -d -t kickstart.XXXXX)
|
||||||
mkdir -p \$target
|
mkdir -p $installation_folder
|
||||||
cd \$target
|
cd $installation_folder
|
||||||
tar xz
|
tar xz
|
||||||
rm -rf /usr/local/bin/kickstart
|
rm -rf /usr/local/bin/kickstart
|
||||||
ln -s \$target/bin/kickstart /usr/local/bin/kickstart
|
ln -s $installation_folder/bin/kickstart /usr/local/bin/kickstart
|
||||||
CMD
|
CMD
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user