summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2015-02-18 22:19:36 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2015-04-07 10:08:31 +0000
commit0afc9b7fbb7d70b525280fe949f9a1f54697a3da (patch)
tree6b2264adcd40258046856d0f85fba17a79a5fe99
parent629b5f79bfd9fa7c34c4c924ec6445cdef1c1cf9 (diff)
downloaddefinitions-0afc9b7fbb7d70b525280fe949f9a1f54697a3da.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