diff --git a/patches/systemvm/debian/config/etc/init.d/cloud-early-config b/patches/systemvm/debian/config/etc/init.d/cloud-early-config index 69c1daa8dc4..d3748093337 100755 --- a/patches/systemvm/debian/config/etc/init.d/cloud-early-config +++ b/patches/systemvm/debian/config/etc/init.d/cloud-early-config @@ -250,6 +250,10 @@ setup_common() { # a hacking way to activate vSwitch under VMware ping -n -c 3 -w 5 $GW + if [ -n "$MGMTNET" -a -n "$LOCAL_GW" ] + then + ping -n -c 3 -w 5 $LOCAL_GW + fi } setup_dnsmasq() {