diskimage-builder/elements/jenkins/install.d/10-jenkins
Ghe Rivero 11b4a5501d Create install-packages as a binary.
Only supports Debian family distribution so far.

Change-Id: I9fa0b833c34a614fe498c6c6ae599733a69c1309
2013-01-31 00:08:58 +01:00

10 lines
193 B
Bash
Executable file

#!/bin/bash
set -e
set -o xtrace
install-packages jenkins
# jenkins installs into /var/lib/jenkins which is rather restrictive.
mv /var/lib/jenkins /mnt/
ln -s /mnt/jenkins /var/lib/jenkins