summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2015-02-18 22:19:36 +0000
committerRichard Ipsum <richardipsum@fastmail.co.uk>2015-04-10 20:17:44 +0100
commit7897e3da09680b9c1d6ce07605120e03629fd0be (patch)
tree1415be6aa81a0f3f5fdcc3d69a2a371040b650b7
parent20a964c40a1b0a674a6597bcb43d60234db24cc2 (diff)
downloaddefinitions-7897e3da09680b9c1d6ce07605120e03629fd0be.tar.gz
Start Open vSwitch before network-pre.target
We want the network links to be configured before we start systemd-networkd, because we have to use ovs instead of networkd's config for the interfaces in OpenStack, but we still want to use networkd to manage DHCP on the interfaces.
-rw-r--r--openstack/etc/systemd/system/openvswitch.service2
1 files changed, 2 insertions, 0 deletions
diff --git a/openstack/etc/systemd/system/openvswitch.service b/openstack/etc/systemd/system/openvswitch.service
index 446c0f95..6f1a93a8 100644
--- a/openstack/etc/systemd/system/openvswitch.service
+++ b/openstack/etc/systemd/system/openvswitch.service
@@ -1,6 +1,8 @@
[Unit]
Description=Open vSwitch Daemon
+Wants=network-pre.target
After=openvswitch-initialize-db.service
+Before=network-pre.target
[Service]
Type=forking