why does my fai-client want to ssh to fai-client and not to the fai-server ?
Michael Tautschnig
mt at debian.org
Thu Sep 4 01:28:13 CEST 2008
> On Thu, Aug 28, 2008 at 9:21 AM, Michael Tautschnig <mt at debian.org> wrote:
> > [...]
> >>
> >> I am netbooting a client I call 'sata-test' . Near the very end of the
> >> install , on sata-test,
> >> my client tries to SSH to 'sata-test'. I think it should ssh to
> >> pl-dev , to run fai-chboot . but it doesn't.
> >> I would provide a fai log... but sata-test doesn't ssh to pl-dev and
> >> leave a log.
> >>
> >> Any idea why this happens?
> >>
> >
> > In this call to ssh, the $SERVER environment variable is used, which is usually
> > set to the value provided by the DHCP reply. Now, either your DHCP server is
> > misconfigured, or you set the SERVER variable in one of your scripts to the
> > hostname of the client.
>
> is there a way to set this in the tfftp pxelinux.cfg/ files ? i tried this
>
> append initrd=initrd.img-2.6.18-6-amd64 ip=dhcp root=/dev/nfs
> nfsroot=/srv/fai/nfsroot boot=live FAI_FLAGS=verbose,sshd,createvt
> FAI_ACTION=install SERVER=faiserver
>
I guess this will be overwritten by DHCP lease processing, so this won't help.
Rather, setting it in one of the class/* scripts may work.
Best,
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
Url : http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20080904/c96a6882/attachment.bin
More information about the linux-fai
mailing list