diskimage-builder/elements/config-applier/install.d/20-config-applier
Derek Higgins 674a6c172b Use the source-repository interface.
Use the new source-repository interface to git clone
source repository.

Also there was a few thing in this element that needed to be fixed.
o url to the git repo wasn't curren't.
o pip and git are also dependencies that needed to be installed.

Change-Id: Ieb7be6576fc909aa4bba0233b7b81cab03395d76
2013-06-20 14:47:27 +01:00

12 lines
210 B
Bash
Executable File

#!/bin/sh
home=$(dirname $0)
set -uex
install-packages python-pip
cd /opt/stack/config-applier
pip install -e . -U
install -m 0644 -o root -g root $home/config-applier.upstart /etc/init/config-applier.conf