From 78bbd498e7c7cb58570025b85d02c8ff921065d5 Mon Sep 17 00:00:00 2001 From: Wilder Rodrigues Date: Wed, 17 Feb 2016 16:07:34 +0100 Subject: [PATCH] CLOUDSTACK-9287 - Fix RVR public interface --- systemvm/patches/debian/config/opt/cloud/bin/cs/CsHelper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systemvm/patches/debian/config/opt/cloud/bin/cs/CsHelper.py b/systemvm/patches/debian/config/opt/cloud/bin/cs/CsHelper.py index 9036527811e..48edf122c13 100755 --- a/systemvm/patches/debian/config/opt/cloud/bin/cs/CsHelper.py +++ b/systemvm/patches/debian/config/opt/cloud/bin/cs/CsHelper.py @@ -27,7 +27,7 @@ import shutil from netaddr import * from pprint import pprint -PUBLIC_INTERFACES = {"router" : "eth0", "vpcrouter" : "eth1"} +PUBLIC_INTERFACES = {"router" : "eth2", "vpcrouter" : "eth1"} STATE_COMMANDS = {"router" : "ip addr | grep eth0 | grep inet | wc -l | xargs bash -c 'if [ $0 == 2 ]; then echo \"MASTER\"; else echo \"BACKUP\"; fi'", "vpcrouter" : "ip addr | grep eth1 | grep state | awk '{print $9;}' | xargs bash -c 'if [ $0 == \"UP\" ]; then echo \"MASTER\"; else echo \"BACKUP\"; fi'"}