From a79a2caaffb2ba2706066344550b134746398c01 Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Fri, 27 Mar 2015 15:22:25 +0000 Subject: openvswitch: Move setup scripts to Ansible. Also change systemd units and configure extension to match this change --- openvswitch.configure | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'openvswitch.configure') 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" -- cgit v1.2.1