summaryrefslogtreecommitdiffstats
path: root/update_jdn.sh
diff options
context:
space:
mode:
authorJoachim Breitner <mail@joachim-breitner.de>2014-04-16 17:00:14 +0200
committerHolger Levsen <holger@layer-acht.org>2014-04-16 18:03:55 +0200
commitef21849e646c1a0712735583409c4490935f8145 (patch)
tree87c05c4f56f4bcae75dd3e28f3c0a1d10fee666a /update_jdn.sh
parent518c78099815bff8b95dabad7408735ff0c67687 (diff)
downloadjenkins.debian.net-ef21849e646c1a0712735583409c4490935f8145.tar.xz
First shot at a schroot creating script
It currently uses sudo freely -- I wonder if it is worth updating sudoers appropriately. Maybe the whole script can be added to sudoers? The jenkins job definition itself is not tested.
Diffstat (limited to 'update_jdn.sh')
-rwxr-xr-xupdate_jdn.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/update_jdn.sh b/update_jdn.sh
index c0c35d71..7a910f5f 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -12,7 +12,7 @@ explain() {
}
# make sure needed directories exists
-for directory in /srv/jenkins /chroots ; do
+for directory in /srv/jenkins /chroots /chroots/schroots; do
if [ ! -d $directory ] ; then
sudo mkdir $directory
sudo chown jenkins.jenkins $directory
@@ -25,7 +25,7 @@ done
#
sudo apt-get install vim screen less etckeeper moreutils curl mtr-tiny dstat devscripts bash-completion shorewall shorewall6 cron-apt apt-listchanges munin calamaris visitors procmail libjson-rpc-perl libfile-touch-perl zutils ip2host \
build-essential python-setuptools \
- debootstrap sudo figlet graphviz apache2 python-yaml python-pip mr subversion subversion-tools vnstat webcheck poxml qemu vncsnapshot imagemagick ffmpeg2theora python-twisted python-imaging gocr guestmount
+ debootstrap sudo figlet graphviz apache2 python-yaml python-pip mr subversion subversion-tools vnstat webcheck poxml qemu vncsnapshot imagemagick ffmpeg2theora python-twisted python-imaging gocr guestmount schroot
explain "Packages installed."
#