Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
re-enable CSE 50 (#3892)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackfrancis committed Sep 21, 2018
1 parent 88ab561 commit d46750f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions parts/k8s/kubernetescustomscript.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,19 @@ else
FULL_INSTALL_REQUIRED=true
fi

function testOutboundConnection() {
retrycmd_if_failure 40 1 3 nc -vz www.google.com 443 || retrycmd_if_failure 40 1 3 nc -vz www.1688.com 443 || exit $ERR_OUTBOUND_CONN_FAIL
}

function holdWALinuxAgent() {
if [[ $OS == $UBUNTU_OS_NAME ]]; then
# make sure walinuxagent doesn't get updated in the middle of running this script
retrycmd_if_failure 20 5 30 apt-mark hold walinuxagent || exit $ERR_HOLD_WALINUXAGENT
fi
}

testOutboundConnection

if [[ ! -z "${MASTER_NODE}" ]]; then
installEtcd
fi
Expand Down

0 comments on commit d46750f

Please sign in to comment.