Merge pull request #9351 from gclinch/salt-bootstrap-in-tmp
Change to a temporary directory before downloading script files
This commit is contained in:
commit
84f929df21
|
@ -1,5 +1,7 @@
|
|||
#!/bin/sh -
|
||||
|
||||
cd `mktemp -d`
|
||||
|
||||
# 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