chboot sub disable question/issue

David Dreezer dave at socialstrata.com
Wed Mar 9 19:57:38 CET 2011


Thanks Michael,


[...]

I can't really say whether this is a bug or a feature, but what happens is:

- task_chboot calls $frsh /usr/sbin/fai-chboot -vd $ipaddr
- hence fai-chboot will use ip2hex to translate $ipaddr to a MAC address
- ip2hex does the translation to a form without "-" and no leading 01

What you would need is a modification of task_chboot that calls fai-chboot with
the MAC address in 01-... format - or switch your pxeconfig names to a different
format.

[...]

I'm not sure what other options there are. When the machine is PXE booted it asks for the files like so

Mar  8 17:42:30 mg006 in.tftpd[9528]: RRQ from 10.7.4.91 filename fai/pxelinux.cfg/00020003-0004-0005-0006-000700080009
Mar  8 17:42:30 mg006 in.tftpd[9528]: sending NAK (1, File not found) to 10.7.4.91
Mar  8 17:42:30 mg006 in.tftpd[9529]: RRQ from 10.7.4.91 filename fai/pxelinux.cfg/01-00-30-48-72-64-64
Mar  8 17:42:30 mg006 in.tftpd[9529]: sending NAK (1, File not found) to 10.7.4.91
Mar  8 17:42:30 mg006 in.tftpd[9530]: RRQ from 10.7.4.91 filename fai/pxelinux.cfg/0A07045B
Mar  8 17:42:30 mg006 in.tftpd[9530]: sending NAK (1, File not found) to 10.7.4.91
Mar  8 17:42:30 mg006 in.tftpd[9531]: RRQ from 10.7.4.91 filename fai/pxelinux.cfg/0A07045

If we name the files without the 01 and without the dash pxe will not ask for them.  If we name them in the form of 0A07045B they are not immediately human readable. Mac address, with 01 and the dashes, are the only practical option. Anything else is less usable, I believe.


David Dreezer
Customer Advocate, Social Strata, Inc.



More information about the linux-fai mailing list