demohost doesn't match classes

amy at real-time.com amy at real-time.com
Wed Nov 5 21:37:31 CET 2003


On Wed, Nov 05, 2003 at 06:20:31PM +0100, Andreas Schockenhoff (asc at gmx.li) wrote:
> On Wednesday 05 November 2003 17:10, amy at real-time.com wrote:
> > OK, I successfully got my first demohost installed.  However, it
> > didn't execute the classes defined in /fai/classes/demo like I
> > thought it should.  I'm using the examples/simple/classes/demo
> > definition which includes XFREE & GNOME but after install, I looked
> > in
> > /tmp/fai/FAI_CLASSES and it listed only these:
> >
> > DEFAULT
> > LINUX
> > i386
> > NONIS
> > 144
> > LAST
> >
> > I named my host demohost and it's in the FAI server's /etc/hosts
> > file. I understand a host named demohost would execute classes/demo. 
> > Is this right?  Thank you.
> Have you checked with "hostname" that your client really is demohost?
> I think he is named 144 the first number of your client IP. :-)
> 
> So in 01alias class DEMO is not defined and of course not used.

That makes sense.  So, how do I get the client's hostname set using the
boot floppy?  I used this to make it:

make-fai-bootfloppy -d f "144.34.36.173:144.34.36.39:144.34.36.254:255.255.255.0:demohost.ncs.ahpcrc.org:eth0:off FAI_FLAGS=verbose,createvt,syslogd

Thank you.
-- 
Amy Tanner
amy at real-time.com



More information about the linux-fai mailing list