What does 'add "classname"' really do?

Goesta Smekal goesta at smekal.at
Tue Mar 17 20:30:57 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Glenn Satchell schrieb:
> Hi Goesta
> 
> You can simplify this by getting rid of the host statement all
> together, the 'allow members of' statement specifically excludes all
> requests that are not members of that class including known or unknown
> hosts, eg:
> 
> class "mammals" {
>   match hardware;
> }
> subclass "mammals" 1:00:50:56:00:00:01;
[...]

Well, this seems to be exactly what i wanted, except for one thing: I
need to supply the hostname to the client. Client OS is set up
automatically by FAI, which uses DHCP info to determine the hostname of
the client, which subsequently decides about software and config installed.

So my Problem is only partially solved yet ;-) I now am able to assign
hosts to pools and groups, at the cost of specifying the MAC twice.

Almost there ;-)

  thanks

  Goesta


- --
#!/usr/bin/perl
foreach $c (split(/ /,"47 6f 65 73 74 61 20 53 6d 65 6b 61 6c 0d 0a")) {
print pack("C", hex($c));}
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknACH4ACgkQLAKF+YJZq5MXqwCcCY+wV29nYdUMIKYYDpXANZPr
1IsAoJ4h8q4fW9zSQ3j0+2Bv0blo/opd
=QqfF
-----END PGP SIGNATURE-----



More information about the dhcp-users mailing list