From a305f8a8fda976769f319b2255f979eb30ae47e4 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 12 Dec 2012 01:33:06 +0100 Subject: rename jobs again, to a $1_$2_$3 naming scheme --- bin/g-i-installation.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'bin') diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh index 384c230a..2e0000d1 100755 --- a/bin/g-i-installation.sh +++ b/bin/g-i-installation.sh @@ -30,7 +30,7 @@ export http_proxy="http://localhost:3128" # init # DISPLAY=localhost:$1 -NAME=$2 +NAME=$2 # it should be possible to derive $NAME from $JOB_NAME DISKSIZE_IN_GB=$3 URL=$4 RAMSIZE=1024 @@ -121,21 +121,21 @@ bootstrap() { INST_LOCALE="locale=en_US" INST_KEYMAP="keymap=us" INST_VIDEO="video=vesa:ywrap,mtrr vga=788" - case $NAME in - wheezy-debian-edu-workstation) + case $JOB_NAME in + *debian-edu_wheezy-test_workstation) EXTRA_APPEND="" ;; - squeeze-test-debian-edu-standalone) + *debian-edu_squeeze-test_standalone) INST_KEYMAP="console-keymaps-at/$INST_KEYMAP" EXTRA_APPEND="" ;; - wheezy-lxde) + *debian_wheezy_lxde) EXTRA_APPEND="desktop=lxde" ;; - sid-daily-lxde) + *debian_sid_daily-lxde) EXTRA_APPEND="desktop=lxde mirror/suite=sid" ;; - sid-daily-rescue) + *debian_sid_daily-rescue) EXTRA_APPEND="rescue/enable=true mirror/suite=sid" ;; *) echo "unsupported distro." -- cgit v1.2.3-70-g09d2