summaryrefslogtreecommitdiff
path: root/openstack/etc
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-03-02 14:52:49 +0000
commitf26dfa93313a8674cca3b5b2bc557e64abf8eac8 (patch)
tree789685c5e76f4f4e8eb9bba14b40d4e2d2ab477d /openstack/etc
parentbbe8b504f0acb0cfbe0cc408719ed032bb222524 (diff)
downloaddefinitions-f26dfa93313a8674cca3b5b2bc557e64abf8eac8.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.
Diffstat (limited to 'openstack/etc')
-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