mirror of https://github.com/apache/cloudstack.git
VPC : CS-15424 default route & gateway is missing for private network in VPC virtual router on Vmware
reviewd by : Anthony adding route configuration through eth0 when VPC router
This commit is contained in:
parent
2699e2c508
commit
2195f3ad83
|
|
@ -596,7 +596,10 @@ EOF
|
|||
fi
|
||||
if [ -n "$MGMTNET" -a -n "$LOCAL_GW" ]
|
||||
then
|
||||
ip route add $MGMTNET via $LOCAL_GW dev eth1
|
||||
if [ "$hyp" == "vmware" ]
|
||||
then
|
||||
ip route add $MGMTNET via $LOCAL_GW dev eth0
|
||||
fi
|
||||
fi
|
||||
|
||||
ip route delete default
|
||||
|
|
|
|||
Loading…
Reference in New Issue