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

Commit

Permalink
disable outbound internet check (#3878)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackfrancis committed Sep 20, 2018
1 parent a614da2 commit 0908e51
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions parts/k8s/kubernetescustomscript.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,13 @@ else
FULL_INSTALL_REQUIRED=true
fi

function testOutboundConnection() {
retrycmd_if_failure 20 1 3 nc -vz www.google.com 443 || retrycmd_if_failure 20 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 0908e51

Please sign in to comment.