summaryrefslogtreecommitdiffstats
path: root/bin/g-i-installation.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-10-24 16:14:41 +0200
committerHolger Levsen <holger@layer-acht.org>2014-10-24 16:14:41 +0200
commitcfc26d691e7e4fbdfb244a55b37456eb94cae01b (patch)
treeaa719d0286db52b5d26ed7429d6b22ecc410db5e /bin/g-i-installation.sh
parent099cfc3460ed6b691c0b7666768f4fa01d638f9c (diff)
downloadjenkins.debian.net-cfc26d691e7e4fbdfb244a55b37456eb94cae01b.tar.xz
g-i-installation: fix how $NAME is derived
Diffstat (limited to 'bin/g-i-installation.sh')
-rwxr-xr-xbin/g-i-installation.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh
index 96d56589..63ed6791 100755
--- a/bin/g-i-installation.sh
+++ b/bin/g-i-installation.sh
@@ -22,7 +22,7 @@ fi
# init
#
DISPLAY=localhost:$EXECUTOR_NUMBER
-NAME=$JOB_NAME
+NAME=$(echo $JOB_NAME | cut -d "_" -f2)
VG=jenkins01
LV=/dev/${VG}/$NAME
DISKSIZE_IN_GB=$1