re-enable CSE 50
@@ -30,6 +30,10 @@ 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
@@ -37,6 +41,8 @@ function holdWALinuxAgent() {
fi
}
+testOutboundConnection
+
if [[ ! -z "${MASTER_NODE}" ]]; then
installEtcd
fi
