summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xupdate_jdn.sh3
1 files changed, 2 insertions, 1 deletions
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