From 268339aa08aebba31eba5ab49c79ca5c85c85b56 Mon Sep 17 00:00:00 2001 From: Philip Hands Date: Thu, 28 Apr 2016 18:21:04 +0200 Subject: lvc based off of recent Tails --- update_jdn.sh | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) (limited to 'update_jdn.sh') diff --git a/update_jdn.sh b/update_jdn.sh index 130524bf..ecb2d190 100755 --- a/update_jdn.sh +++ b/update_jdn.sh @@ -57,11 +57,17 @@ if ! getent passwd jenkins-adm > /dev/null ; then sudo adduser --system --shell /bin/bash --no-create-home --ingroup jenkins-adm --disabled-login --no-create-home jenkins-adm sudo usermod -G jenkins jenkins-adm fi -for user in helmut holger mattia lunar philh ; do +for user in helmut holger mattia lunar philh phil ; do if [ "$user" = "lunar" ] && [ "$HOSTNAME" != "jenkins" ] ; then # lunar only wants to configure jekyll continue fi + if [ "$user" = "phil" ] && [ "$HOSTNAME" != "jenkins-test-vm" ] ; then + # phil only wants to test stuff + sudo adduser $user libvirt + sudo adduser $user libvirt-qemu + continue + fi if [ "$user" = "philh" ] && [ "$HOSTNAME" != "jenkins-test-vm" ] ; then # philh only wants to test stuff continue @@ -196,10 +202,32 @@ if [ -f /etc/debian_version ] ; then " case $HOSTNAME in jenkins|jenkins-test-vm|profitbricks-build?-amd64) DEBS="$DEBS + cucumber + tesseract-ocr + i18nspector + libav-tools + libsikuli-script-java + libvirt-dev + ovmf + python-jabberbot + python-potr + ruby-guestfs + ruby-libvirt + ruby-net-irc + ruby-packetfu + ruby-rb-inotify + ruby-rjb + ruby-test-unit + tcpdump + unclutter + virt-viewer + xvfb + x11vnc libvirt-bin python3-yaml postfix-pcre squid3" + # make sure that nested KVM is enabled (see whist:/etc/modprobe.d/kvm-intel-nested.conf) ;; *) ;; esac -- cgit v1.2.3-54-g00ecf