Merge pull request #9351 from gclinch/salt-bootstrap-in-tmp

Change to a temporary directory before downloading script files
This commit is contained in:
Brian Cain 2018-02-09 11:14:17 -08:00 committed by GitHub
commit 84f929df21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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