Comment 0 for bug 1314887

Revision history for this message
Hiroaki Kawai (hiroaki-kawai) wrote :

ifupdown hook is present in /etc/init.d/openvswitch-switch, but not in /etc/init/openvswitch-switch.conf which is the default.

=== modified file 'debian/openvswitch-switch.upstart'
--- debian/openvswitch-switch.upstart 2013-08-23 11:18:52 +0000
+++ debian/openvswitch-switch.upstart 2014-05-01 04:26:00 +0000
@@ -32,11 +32,13 @@
   fi
   set "$@" $OVS_CTL_OPTS
   "$@"
+ ifup --allow ovs `ifquery --allow ovs --list`
 end script

 post-stop script
   . /usr/share/openvswitch/scripts/ovs-lib
   test -e /etc/default/openvswitch-switch && . /etc/default/openvswitch-switch

+ ifdown --allow ovs `ifquery --allow ovs --list`
   ovs_ctl stop
 end script