summaryrefslogtreecommitdiff
path: root/openstack/etc/systemd/system/openvswitch-setup.service
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-01-28 10:32:57 +0000
committerFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-02-11 18:30:36 +0000
commitc17c7463ebb72528f2d94bf0ed5cdc0a6e5534cd (patch)
tree8facf815bc2f3a9593f99dec895b6d4128ca29e0 /openstack/etc/systemd/system/openvswitch-setup.service
parent03d70647b10dea1c804efdeb11a285c3911a8e89 (diff)
downloaddefinitions-c17c7463ebb72528f2d94bf0ed5cdc0a6e5534cd.tar.gz
Recreate links on boot and set bridges to ethernet automatically
openvswitch services need to run after network-online.target in order to have the ethernet device available and configured.
Diffstat (limited to 'openstack/etc/systemd/system/openvswitch-setup.service')
-rw-r--r--openstack/etc/systemd/system/openvswitch-setup.service3
1 files changed, 2 insertions, 1 deletions
diff --git a/openstack/etc/systemd/system/openvswitch-setup.service b/openstack/etc/systemd/system/openvswitch-setup.service
index ff55909d..ad7a144f 100644
--- a/openstack/etc/systemd/system/openvswitch-setup.service
+++ b/openstack/etc/systemd/system/openvswitch-setup.service
@@ -1,6 +1,7 @@
[Unit]
Description=Run openvswitch-setup (once)
-Requires=local-fs.target network.target
+Requires=local-fs.target network-online.target openvswitch-create-links-one-node.service
+After=network-online.target openvswitch-create-links-one-node.service
[Service]
Type=oneshot