From b60aa0a273fcde2008b6225b3e5ce98a29e369f4 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 9 Feb 2013 14:47:25 +0100 Subject: do root login on minimal edu installations --- bin/g-i-installation.sh | 38 ++++++++++++++++++++++++++++---------- 1 file changed, 28 insertions(+), 10 deletions(-) (limited to 'bin') diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh index 8dbf6097..271da6cb 100755 --- a/bin/g-i-installation.sh +++ b/bin/g-i-installation.sh @@ -270,17 +270,33 @@ normal_action() { let MY_NR=NR-TRIGGER_NR TOKEN=$(printf "%03d" $MY_NR) # - # common for all types of install + # login as jenkins or root # - case $TOKEN in - 050) do_and_report type jenkins - ;; - 060) do_and_report key enter - ;; - 070) do_and_report type insecure - ;; - 080) do_and_report key enter - ;; + case $NAME in + debian_*) case $TOKEN in + 050) do_and_report type jenkins + ;; + 060) do_and_report key enter + ;; + 070) do_and_report type insecure + ;; + 080) do_and_report key enter + ;; + *) ;; + esac + ;; + debian-edu_*minimal) case $TOKEN in + 050) do_and_report type root + ;; + 060) do_and_report key enter + ;; + 070) do_and_report type r00tme + ;; + 080) do_and_report key enter + ;; + *) ;; + esac + ;; *) ;; esac # @@ -493,6 +509,8 @@ normal_action() { # debian-edu*minimal installations result in text mode, thus needing an extra tab 030) do_and_report key tab ;; + 040) do_and_report key enter + ;; *) ;; esac ;; -- cgit v1.2.3-70-g09d2