mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +00:00
add retries to salt bootstrap download
This commit is contained in:
parent
c8ffdb3018
commit
2f500b3b07
@ -51,7 +51,7 @@ echo $MASTER_HTPASSWD > /srv/salt/nginx/htpasswd
|
|||||||
#
|
#
|
||||||
# -M installs the master
|
# -M installs the master
|
||||||
set +x
|
set +x
|
||||||
curl -L http://bootstrap.saltstack.com | sh -s -- -M -X
|
curl -L --connect-timeout 20 --retry 6 --retry-delay 10 http://bootstrap.saltstack.com | sh -s -- -M -X
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
echo $MASTER_HTPASSWD > /srv/salt/nginx/htpasswd
|
echo $MASTER_HTPASSWD > /srv/salt/nginx/htpasswd
|
||||||
|
@ -38,4 +38,4 @@ EOF
|
|||||||
#
|
#
|
||||||
# We specify -X to avoid a race condition that can cause minion failure to
|
# We specify -X to avoid a race condition that can cause minion failure to
|
||||||
# install. See https://github.com/saltstack/salt-bootstrap/issues/270
|
# install. See https://github.com/saltstack/salt-bootstrap/issues/270
|
||||||
curl -L http://bootstrap.saltstack.com | sh -s -- -X
|
curl -L --connect-timeout 20 --retry 6 --retry-delay 10 http://bootstrap.saltstack.com | sh -s -- -X
|
||||||
|
Loading…
Reference in New Issue
Block a user