> > I have tried almost exactly that, only adjusted the library > > location, > > and the result was that this only works when the host name is > > already > > part of the client request > > => not surprising as the test part of the ifelse asks for this...
But there is no need at all to set a host name, neither in the client request, nor in the server reply. > > > Is it possible to make (almost) the above work when host-name is > > part of the server answer? > > => yes > how? > but in fact in this case you should not need the flex-option hook > i.e. just boot-file-name option at the same time as the host-name one. This was just for testing und what I really want in the server reply is a boot-file-name that depends on 1. the client class, which is part of the host declaration 2. if the DHCP client uses UEFI PXE boot or BIOS PXE boot Regards Christoph
signature.asc
Description: This is a digitally signed message part
-- ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users. Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users