diff options
author | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2015-03-16 18:58:04 +0000 |
---|---|---|
committer | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2015-03-20 11:22:17 +0000 |
commit | f4d0da51819e228ccf8fa17aec9cee7669518539 (patch) | |
tree | d20d52b64257327fcb76bcb0a6b149b70445bdc3 /openvswitch.configure | |
parent | 3052f43715f67a57664290726908e00e8f35e42f (diff) | |
download | definitions-f4d0da51819e228ccf8fa17aec9cee7669518539.tar.gz |
Move openvswitch setup to Ansible
Diffstat (limited to 'openvswitch.configure')
-rw-r--r-- | openvswitch.configure | 13 |
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" |