Skip to content

Commit b6eff02

Browse files
author
Sheng Yang
committed
Don't bring up eth2 for booting process of redundant router
1 parent 5fda83b commit b6eff02

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎patches/systemvm/debian/config/etc/init.d/cloud-early-config‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,10 +205,9 @@ setup_interface() {
205205
ifdown $intf
206206
else
207207
ifdown $intf
208-
ifup $intf
209-
if [ "$RROUTER" == "1" -a "$1" == "2" ]
208+
if [ "$RROUTER" != "1" -o "$1" != "2" ]
210209
then
211-
ifdown $intf
210+
ifup $intf
212211
fi
213212
fi
214213
}

0 commit comments

Comments
 (0)