Skip to content

Commit b03498e

Browse files
author
Rakesh Venkatesh
committed
add local gateway
1 parent 66801d9 commit b03498e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

systemvm/debian/opt/cloud/bin/setup/common.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ setup_common() {
326326
cidrs=(${MGMTNET//,/ })
327327
for cidr in ${cidrs[@]}
328328
do
329-
ip route add $cidr dev eth1
329+
ip route add $cidr via $LOCAL_GW dev eth1
330330
done
331331
fi
332332

0 commit comments

Comments
 (0)