summaryrefslogtreecommitdiff
path: root/openvswitch.configure
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-03-27 15:22:25 +0000
committerRichard Ipsum <richardipsum@fastmail.co.uk>2015-04-10 20:17:46 +0100
commit2114780ff5b4d6de2dc74e9fa1dc34baa74270c5 (patch)
tree3747efdf9cc369161efe8a183fd7ee93555aeac5 /openvswitch.configure
parentc67183cb206a96f642bb54b7e5b9aa278876293d (diff)
downloaddefinitions-2114780ff5b4d6de2dc74e9fa1dc34baa74270c5.tar.gz
openvswitch: Move setup scripts to Ansible.
Also change systemd units and configure extension to match this change
Diffstat (limited to 'openvswitch.configure')
-rw-r--r--openvswitch.configure13
1 files changed, 3 insertions, 10 deletions
diff --git a/openvswitch.configure b/openvswitch.configure
index be4eb6d3..7e64de69 100644
--- a/openvswitch.configure
+++ b/openvswitch.configure
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
# Copyright (C) 2015 Codethink Limited
#
@@ -19,12 +19,5 @@ set -e
ROOT="$1"
-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
+ln -sf "/usr/lib/systemd/system/openvswitch-setup.service" \
+ "$ROOT/etc/systemd/system/multi-user.target.wants/openvswitch-setup.service"