From 7f583cd416dfeb1f2230a07646525c0de9884b68 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 7 Jan 2013 20:15:46 +0100 Subject: g-i-tests: add qemu opts for 2nd nic for combi-servers --- bin/g-i-installation.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh index ec5c7e8c..bf19ef8f 100755 --- a/bin/g-i-installation.sh +++ b/bin/g-i-installation.sh @@ -161,6 +161,9 @@ bootstrap_system() { debian_*_rescue*) EXTRA_APPEND="$EXTRA_APPEND rescue/enable=true" ;; + debian-edu*_combi-server) + QEMU_OPTS="$QEMU_OPTS -netdev user,id=7 -net nic -net user -net nic,model=e1000" + ;; *) ;; esac case $NAME in @@ -190,6 +193,12 @@ boot_system() { echo "Checking $NAME.raw:" file $NAME.raw # FIXME: exit here if image is not bootable + case $NAME in + debian-edu*_combi-server) + QEMU_OPTS="$QEMU_OPTS -netdev user,id=7 -net nic -net user -net nic,model=e1000" + ;; + *) ;; + esac echo echo "Starting QEMU_ now:" set -x -- cgit v1.2.3-70-g09d2