mirror of https://github.com/apache/cloudstack.git
Don't bring up eth2 for booting process of redundant router
This commit is contained in:
parent
90774621f1
commit
e34fcff9b9
|
|
@ -205,10 +205,9 @@ setup_interface() {
|
|||
ifdown $intf
|
||||
else
|
||||
ifdown $intf
|
||||
ifup $intf
|
||||
if [ "$RROUTER" == "1" -a "$1" == "2" ]
|
||||
if [ "$RROUTER" != "1" -o "$1" != "2" ]
|
||||
then
|
||||
ifdown $intf
|
||||
ifup $intf
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue