From: Dimitris Aragiorgis Date: Fri, 22 Nov 2013 19:59:42 +0000 (+0200) Subject: (2.10) Fix net-common script in case of routed mode X-Git-Url: https://code.grnet.gr/git/ganeti-local/commitdiff_plain/569f47dd51ab7ddb2d10884a5fc248059774b6de (2.10) Fix net-common script in case of routed mode setup_route should run in case or routed mode and not openvswitch. Signed-off-by: Dimitris Aragiorgis Signed-off-by: Thomas Thrainer Reviewed-by: Thomas Thrainer --- diff --git a/tools/net-common.in b/tools/net-common.in index ee412bd..78cf9ba 100644 --- a/tools/net-common.in +++ b/tools/net-common.in @@ -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