We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e91468 commit 78bbd49Copy full SHA for 78bbd49
systemvm/patches/debian/config/opt/cloud/bin/cs/CsHelper.py
@@ -27,7 +27,7 @@
27
from netaddr import *
28
from pprint import pprint
29
30
-PUBLIC_INTERFACES = {"router" : "eth0", "vpcrouter" : "eth1"}
+PUBLIC_INTERFACES = {"router" : "eth2", "vpcrouter" : "eth1"}
31
32
STATE_COMMANDS = {"router" : "ip addr | grep eth0 | grep inet | wc -l | xargs bash -c 'if [ $0 == 2 ]; then echo \"MASTER\"; else echo \"BACKUP\"; fi'",
33
"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