Group assignment OMAPI

Uwe.Buchwitz at gavi.de Uwe.Buchwitz at gavi.de
Tue Apr 15 15:26:24 UTC 2008


Hi all,
trying to use OMAPI and avoid editing leases file I struggle with 
assigning groups to hosts. 

I added a group and a host using OMAPI:

group group-1 {
  dynamic;
        supersede server.next-server = ac:16:c8:1e;
        supersede server.default-lease-time = 00:00:0e:10;
        supersede server.max-lease-time = 00:00:0e:10;
        supersede bootfile-name = "/etc/foo/tftp/boot.ovl";
}

host host-1 {
  dynamic;
  hardware ethernet 88:88:88:88:88:88;
  fixed-address 10.10.10.10;
  group "group-1";
}


It seems the host doesn´t get the options or statements it is supposed to 
get from the group. Obviously when adding the host by the use of OMAPI I 
can not decide to place it within the brackets of the group statement. Any 
Idea? 



More information about the dhcp-hackers mailing list