mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Merge pull request #762 from jdef/master
add retries to salt bootstrap download
This commit is contained in:
commit
a06d6726d4
@ -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