bonding: Ignore updelay if there is no active slave.
[openvswitch] / xenserver / etc_init.d_vswitch
index 249adeb0737774a72af0036ac614f65c5337e100..f0b8be2c89b82fa3547c21c08f2b43ee11f76bcb 100755 (executable)
@@ -270,11 +270,12 @@ function start {
         action "Creating empty $VSWITCHD_CONF" touch "$VSWITCHD_CONF"
     elif [ ! -e /var/run/vswitch.booted ]; then
         touch /var/run/vswitch.booted
-       /usr/bin/ovs-cfg-mod '-vANY:console:emer' -F "$VSWITCHD_CONF" \
-           '--del-match=bridge.*' \
-           '--del-match=port.*' \
-           '--del-match=bonding.*' \
-           '--del-match=iface.*'
+        /usr/bin/ovs-cfg-mod '-vANY:console:emer' -F "$VSWITCHD_CONF" \
+            '--del-match=bridge.*' \
+            '--del-match=port.*' \
+            '--del-match=bonding.*' \
+            '--del-match=iface.*' \
+            '--del-match=vlan.*'
     fi
 
     start_vswitchd