[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: network interface problem during jenkins d-e ltsp installation



Hi,

On Dienstag, 17. März 2015, Petter Reinholdtsen wrote:
> > This might fix the installation hanging at the 'choose network card'
> > step.

which tests are hanging? all? or just (which) server tests?
 
> > diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh
> > index ccb6fdb..5b54df6 100755
> > --- a/bin/g-i-installation.sh
> > +++ b/bin/g-i-installation.sh
> > @@ -280,7 +280,7 @@ bootstrap_system() {
> > 
> >  			GUITERMINAL=xterm
> >  			;;
> >  		
> >  		debian-edu_*)
> > 
> > -			EXTRA_APPEND="$EXTRA_APPEND desktop=kde"
> > +			EXTRA_APPEND="$EXTRA_APPEND desktop=kde 
netcfg/choose_interface=auto"
> > 
> >  			GUITERMINAL=konsole
> >  			;;
> >  		
> >  		*)	;;
> 
> Perhaps it is better to do it in this block:

Yes, 

>                 debian-edu*-server)
>                         QEMU_OPTS="$QEMU_OPTS -net nic,vlan=1 -net
> user,vlan=1" EXTRA_APPEND="$EXTRA_APPEND interface=eth0" ;;
> 
> I suspect the interface=eth0 setting used to work but no longer is
> effective?

I dont see this code? Did you look at an outdated git clone of yours?

$ git log -p -1
commit edb10c6ec9667d29e70443d6488b505f8fd51995
Author: Holger Levsen <holger@layer-acht.org>
Date:   Tue Mar 17 14:07:46 2015 +0100

    g-i: choose_interface=auto on edu servers

diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh
index ccb6fdb..87ea529 100755
--- a/bin/g-i-installation.sh
+++ b/bin/g-i-installation.sh
@@ -260,6 +260,7 @@ bootstrap_system() {
                        ;;
                debian-edu_*ltsp-server|debian-edu_*combi-server)
                        QEMU_OPTS="$QEMU_OPTS -net nic,vlan=1 -net 
user,vlan=1"
+                       EXTRA_APPEND="$EXTRA_APPEND 
netcfg/choose_interface=auto"
                        ;;
                *)      ;;
        esac

is what I have committed now. Thanks!


cheers,
	Holger


Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: