summaryrefslogtreecommitdiff
path: root/openvswitch.configure
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-01-29 16:20:22 +0000
committerFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-01-29 16:20:22 +0000
commit4b6522b5aa4f3a4cbcecaa804303c0304011f74b (patch)
tree42291cd3b161f8156c50ddc4a082b670b566f89d /openvswitch.configure
parente843a9ee85429d58840100fcee0e81087e83cc53 (diff)
downloaddefinitions-4b6522b5aa4f3a4cbcecaa804303c0304011f74b.tar.gz
Link all the neutron and openvswitch services
Diffstat (limited to 'openvswitch.configure')
-rw-r--r--openvswitch.configure11
1 files changed, 7 insertions, 4 deletions
diff --git a/openvswitch.configure b/openvswitch.configure
index aec66bd2..ec219851 100644
--- a/openvswitch.configure
+++ b/openvswitch.configure
@@ -19,7 +19,10 @@ set -e
ROOT="$1"
-ln -sf "/etc/systemd/system/openvswitch-db-server.service" \
- "$ROOT/etc/systemd/system/multi-user.target.wants/openvswitch-db-server.service"
-ln -sf "/etc/systemd/system/openvswitch.service" \
- "$ROOT/etc/systemd/system/multi-user.target.wants/openvswitch.service"
+services=("openvswitch-setup.service" "openvswitch-db-server.service"
+ "openvswitch-initialize-db.service" "openvswitch.service")
+
+for service in ${services[@]}; do
+ ln -sf "/etc/systemd/system/$service" \
+ "$ROOT/etc/systemd/system/multi-user.target.wants/$service"
+done