package: fai
On Monday 10 April 2006 15:53, Thomas Lange wrote:
> >>>>> On Sun, 9 Apr 2006 03:03:51 +0200, Holger Levsen
> >>>>> <[EMAIL PROTECTED]> said:
> >>>>>
> > Hi,
> >
> > On Wednesday 15 March 2006 09:47, Andreas Jobs wrote:
> >> Problem:
> >> task_chboot does not disable the correct pxe configuration.
> >>
> >> Description:
> >> If you have more than one NIC, your hostname may not map to the
> >> adress used during install. In my case (installing some Compaq Blade
> >> Servers) the Installation uses eth0 but the "production" interface
> >> is eth2. So, hostname resolves to the address bind to eth2. During
> >> task_chboot fai does "fai_chboot -r $hostname" and quits with a file
> >> not found message.
> >>
> >> Solution:
> >> Use the address that was used during installation. My
> >> quick-and-dirty patch currently is:
> >>
> >> --- subroutines-linux.orig 2006-01-12 17:49:49.000000000 +0100
> >> +++ subroutines-linux 2006-03-10 09:41:23.000000000 +0100
> >> @@ -185,7 +185,8 @@
> >>
> >> local frsh
> >> local doexit=0
> >> - local hostname=$(hostname)
> >> + local hostname=$(cat $LOGDIR/boot.log | grep IPADDR | cut -d\'
> >> -f2) + [ -z "$hostname" ] && hostname=$(hostname)
> >> frsh="$FAI_REMOTESH -l $LOGUSER ${SERVER}"
> >>
> >>
> >> Maybe there is a better (cleaner) solution.
> >>
> >> I'd like to file a bug in BTS. Should I file it to "fai" or
> >> "fai-client"?
>
> Please file a bug for this. Then I will send a comment on it. IMO
> using the ip address is a good solution since fai-chboot can use
> them. But I may implement this a little bit different.
>
> But first file a bug for this.
pgpPIIIiLZyXu.pgp
Description: PGP signature

