From 361d04e70ec83ced8d7d8b17e0b778176d687316 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 22 May 2016 17:20:45 +0200 Subject: create user phil on jenkins host too --- update_jdn.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/update_jdn.sh b/update_jdn.sh index c70c571e..ee258b7a 100755 --- a/update_jdn.sh +++ b/update_jdn.sh @@ -54,7 +54,8 @@ for user in helmut holger mattia lunar phil ; do sudo adduser $user libvirt sudo adduser $user libvirt-qemu continue - elif [ "$user" = "phil" ] ; then + elif [ "$user" = "phil" ] && ( ! [ "$HOSTNAME" = "jenkins" ] || [ "$HOSTNAME" = "jenkins-test-vm" ] ) ; then + # create phil on jenkins and jenkins-test-vm only continue fi # actually create the user -- cgit v1.2.3-70-g09d2