Difference between revisions of "Open vSwitch Setup"

From Flav's Wiki
Jump to: navigation, search
(Created page with "=Correct boot scripts= In order to enable openvswitch at boot time the order is not correct. Change <code>/etc/init.d/openvswitch-switch</code> as following: <source lang=diff...")
(No difference)

Revision as of 16:09, 8 May 2015

Correct boot scripts

In order to enable openvswitch at boot time the order is not correct. Change /etc/init.d/openvswitch-switch as following:

diff -u ~/openvswitch-switch.old openvswitch-switch
--- /root/openvswitch-switch.old       2015-05-06 10:37:34.036076834 +0200
+++ openvswitch-switch  2015-05-06 11:20:21.776809573 +0200
@@ -16,10 +16,12 @@
 #
 ### BEGIN INIT INFO
 # Provides:          openvswitch-switch
-# Required-Start:    $network $named $remote_fs $syslog
-# Required-Stop:     $remote_fs
-# Default-Start:     2 3 4 5
-# Default-Stop:      0 1 6
+# Required-Start:    $local_fs
+# Required-Stop:     $local_fs
+# X-Start-Before:    networking
+# X-Stop-After:      networking
+# Default-Start:     S
+# Default-Stop:      0 6
 # Short-Description: Open vSwitch switch
 # Description:       openvswitch-switch provides the userspace components and utilities for
 #                    the Open vSwitch kernel-based switch.