Skip to content

Commit 78bbd49

Browse files
wilderrodriguesremibergsma
authored andcommitted
CLOUDSTACK-9287 - Fix RVR public interface
1 parent 0e91468 commit 78bbd49

File tree

1 file changed

+1
-1
lines changed
  • systemvm/patches/debian/config/opt/cloud/bin/cs

1 file changed

+1
-1
lines changed

systemvm/patches/debian/config/opt/cloud/bin/cs/CsHelper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
from netaddr import *
2828
from pprint import pprint
2929

30-
PUBLIC_INTERFACES = {"router" : "eth0", "vpcrouter" : "eth1"}
30+
PUBLIC_INTERFACES = {"router" : "eth2", "vpcrouter" : "eth1"}
3131

3232
STATE_COMMANDS = {"router" : "ip addr | grep eth0 | grep inet | wc -l | xargs bash -c 'if [ $0 == 2 ]; then echo \"MASTER\"; else echo \"BACKUP\"; fi'",
3333
"vpcrouter" : "ip addr | grep eth1 | grep state | awk '{print $9;}' | xargs bash -c 'if [ $0 == \"UP\" ]; then echo \"MASTER\"; else echo \"BACKUP\"; fi'"}

0 commit comments

Comments
 (0)