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-01-22 12:46:28 +0000
commit6f958f1b6f2bf9ef6d48d57970584f18e8e1a041 (patch)
tree62dca5a1145b73f876f5f895591c5289fd77e8e7 /openstack-neutron.configure
parent91bca0532e8faf196623c8dc311a775aeca852f2 (diff)
downloaddefinitions-6f958f1b6f2bf9ef6d48d57970584f18e8e1a041.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"