[Dnsmasq-discuss] setting pxe-bootoption via script?

Simon Kelley simon at thekelleys.org.uk
Wed Feb 29 13:48:51 GMT 2012


On 29/02/12 13:00, rath at mglug.de wrote:
> Hi list,
>
> Im using dnsmasq for a long time, esp. for networkbooting of thin
> clients. So i sent the gpxelinux.0 binary which chainloaded the
> menu-options for booting, i.e. sanboot via iscsi-target.
>
> Is it possible setting the iscsi-target-option via (lua-,bash-)script
> dynamicly, i.e. depending on the mac-address?

No, no information is passed back from the script to the main dnsmasq 
process, so it can't affect what is send to the client.

If you want to select which options to use based on matching the MAC 
address, that's possible using --dhcp-mac to match (with wildcards) and 
set a tag.

Cheers,

Simon.




More information about the Dnsmasq-discuss mailing list