Change to a temporary directory before downloading script files, to avoid
leaving junk files in the working directory (probably ~vagrant)
This commit is contained in:
parent
885d66e9c3
commit
1c2929cd84
|
@ -1,5 +1,7 @@
|
|||
#!/bin/sh -
|
||||
|
||||
cd `mktemp --directory`
|
||||
|
||||
# We just download the bootstrap script by default and execute that.
|
||||
if [ -x /usr/bin/fetch ]; then
|
||||
/usr/bin/fetch -o bootstrap-salt.sh https://raw.githubusercontent.com/saltstack/salt-bootstrap/stable/bootstrap-salt.sh
|
||||
|
|
Loading…
Reference in New Issue