Commit 6386c546 authored by Dimitris Aragiorgis's avatar Dimitris Aragiorgis Committed by Klaus Aehlig

Fix net-common script in case of routed mode

setup_route should run in case or routed mode and not
openvswitch.
Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
Signed-off-by: default avatarThomas Thrainer <thomasth@google.com>
Reviewed-by: default avatarThomas Thrainer <thomasth@google.com>

Cherry-picked from 49c60905.
Signed-off-by: default avatarKlaus Aehlig <aehlig@google.com>
Reviewed-by: default avatarJose Lopes <jabolopes@google.com>
parent 14e61dd1
......@@ -65,7 +65,7 @@ function setup_ovs {
}
function setup_route {
if [ "$MODE" = "openvswitch" ]; then
if [ "$MODE" = "routed" ]; then
ip link set $INTERFACE up
if [ -z "$IP" ]; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment