summaryrefslogtreecommitdiff
path: root/openstack-neutron.configure
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2014-12-12 09:34:20 +0000
committerFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-02-11 18:30:32 +0000
commit5760d0ac85f4da9f27e17b2c70ec383609277154 (patch)
tree988a5f81ec352b521633932b9a5b044f113a4614 /openstack-neutron.configure
parenteddf2605c557cdd2afd4cb2207502e8ab5183edb (diff)
downloaddefinitions-5760d0ac85f4da9f27e17b2c70ec383609277154.tar.gz
Strip openvswitch services and configuration from neutron
Openvswitch should have its own setup and daemon services independent of neutron. NOTE: This fixes the errors when neutron uses openvswitch commands as root because openvswitch services are run as root.
Diffstat (limited to 'openstack-neutron.configure')
-rw-r--r--openstack-neutron.configure3
1 files changed, 3 insertions, 0 deletions
diff --git a/openstack-neutron.configure b/openstack-neutron.configure
index 7cf0842e..2b89befe 100644
--- a/openstack-neutron.configure
+++ b/openstack-neutron.configure
@@ -37,6 +37,9 @@ sed -f "$ROOT"/etc/openstack-neutron-setup.sed -i \
##########################################################################
+ln -sf "/etc/systemd/system/openstack-neutron-network-configuration-one-node.service" \
+ "$ROOT/etc/systemd/system/multi-user.target.wants/openstack-neutron-network-configuration-one-node.service"
+
ln -sf "/etc/systemd/system/openstack-neutron-setup.service" \
"$ROOT/etc/systemd/system/multi-user.target.wants/openstack-neutron-setup.service"