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-25 10:23:44 +0000 |
commit | 1a1a19d829d5a459fb1634f4a54bac6eedf3f13e (patch) | |
tree | 94d7b22b8869d9b61d43fcaaf5caa6edadfa6b7d /openvswitch.configure | |
parent | e4c04e2e13f3059f3cc0ae521d9892d6ae8ef3b3 (diff) | |
download | definitions-1a1a19d829d5a459fb1634f4a54bac6eedf3f13e.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" |