From 4b6522b5aa4f3a4cbcecaa804303c0304011f74b Mon Sep 17 00:00:00 2001 From: Francisco Redondo Marchena Date: Thu, 29 Jan 2015 16:20:22 +0000 Subject: Link all the neutron and openvswitch services --- openvswitch.configure | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'openvswitch.configure') 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 -- cgit v1.2.1