summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-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