tg3 network cards [SOLVED]

Ryan Steele ryans at aweber.com
Fri Dec 19 15:09:43 CET 2008


Ralf Utermann wrote:
> Ryan Steele wrote:
> [...]
>   
>> And I forgot to mention also, that I have to use a custom script to
>> rewrite the IP in the boot.log, otherwise at the end of the
>> installation, fai-chboot fails to connect to the server and change the
>> pxelinux.cfg file to foo.disable.  Here is that script:
>>
>> #! /bin/bash
>>
>> error=0 ; trap "error=$((error|1))" ERR
>>
>> set -x
>>
>> REALIP=$(echo `host $(cat $target/etc/hostname) | awk '{print $4}'`)
>> perl -i -pe "s/^IPADDR=all(.*)/IPADDR='"$REALIP"'$3/" $LOGDIR/boot.log
>>
>> exit $error
>>
>>     
>
> Hi Ryan,
>
>
> this script is probably not needed, if you fix http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=509090
>
> Bye, Ralf
>   
Cool, thanks for the patch Ralf, I'll be testing it out.

Happy Holidays,
Ryan


More information about the linux-fai mailing list