squash! salt: bootstrap-salt.sh: use -s with curl
Also use --show-error, and long option for --silent.
This commit is contained in:
parent
6f7c383fe8
commit
ec99b75c53
|
@ -4,7 +4,7 @@
|
|||
if [ -x /usr/bin/fetch ]; then
|
||||
/usr/bin/fetch -o bootstrap-salt.sh https://raw.githubusercontent.com/saltstack/salt-bootstrap/stable/bootstrap-salt.sh
|
||||
elif [ -x /usr/bin/curl ]; then
|
||||
/usr/bin/curl -s -L -O https://raw.githubusercontent.com/saltstack/salt-bootstrap/stable/bootstrap-salt.sh
|
||||
/usr/bin/curl --silent --show-error -L -O https://raw.githubusercontent.com/saltstack/salt-bootstrap/stable/bootstrap-salt.sh
|
||||
elif [ -x /usr/bin/wget ]; then
|
||||
/usr/bin/wget -O bootstrap-salt.sh https://raw.githubusercontent.com/saltstack/salt-bootstrap/stable/bootstrap-salt.sh
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue