From 0afc9b7fbb7d70b525280fe949f9a1f54697a3da Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Wed, 18 Feb 2015 22:19:36 +0000 Subject: 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. --- openstack/etc/systemd/system/openvswitch.service | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.1