diff options
author | Holger Levsen <holger@layer-acht.org> | 2013-05-20 01:08:13 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2013-05-20 01:08:13 +0200 |
commit | 1b407023b5460dbbe1d37044a559d289e4760c79 (patch) | |
tree | d6a9a77300630d49749bbb793695be5d992d7d59 /bin/g-i-installation.sh | |
parent | 8e49736b1f3b88d6853f245f053ae11c22d7ed61 (diff) | |
download | jenkins.debian.net-1b407023b5460dbbe1d37044a559d289e4760c79.tar.xz |
g-i: fixup spanish and japanese
Diffstat (limited to 'bin/g-i-installation.sh')
-rwxr-xr-x | bin/g-i-installation.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh index 705b2ba0..f268ec6f 100755 --- a/bin/g-i-installation.sh +++ b/bin/g-i-installation.sh @@ -60,9 +60,11 @@ RESULTS=$WORKSPACE/results if [ -z "$5" ] || [ -z "$6" ] ; then DI_LANG="en" DI_LOCALE="en_US" + PRESEEDCFG="preseed.cfg" else DI_LANG=$5 DI_LOCALE=$6 + PRESEEDCFG="${DI_LANG}_preseed.cfg" fi fetch_if_newer() { @@ -140,7 +142,7 @@ bootstrap_system() { QEMU_WEBSERVER=http://10.0.2.1/ # preseeding related variables PRESEED_PATH=d-i-preseed-cfgs - PRESEED_URL="url=$QEMU_WEBSERVER/$PRESEED_PATH/${NAME}_preseed.cfg" + PRESEED_URL="url=$QEMU_WEBSERVER/$PRESEED_PATH/${NAME}_$PRESEEDCFG" INST_LOCALE="locale=$DI_LOCALE" INST_KEYMAP="keymap=us" # always us! INST_VIDEO="video=vesa:ywrap,mtrr vga=788" @@ -192,7 +194,7 @@ bootstrap_system() { ;; esac APPEND="auto=true $EXTRA_APPEND $INST_LOCALE $INST_KEYMAP $PRESEED_URL $INST_VIDEO -- quiet" - show_preseed $(hostname -f)/$PRESEED_PATH/${NAME}_preseed.cfg + show_preseed $(hostname -f)/$PRESEED_PATH/${NAME}_$PRESEEDCFG echo echo "Starting QEMU now:" set -x |