[gPXE] sanbootconf hostname setting
Michael Brown
mbrown at fensystems.co.uk
Sat Mar 20 14:55:24 EDT 2010
lsq726 has forwarded me a patch (attached for reference) that adds support to
sanbootconf for setting the system hostname. I'd like to get some input on
this from other people using sanbootconf.
The iBFT includes a single "hostname" string, which gPXE already populates
with the value of DHCP option 12. sanbootconf currently ignores this value
in the iBFT.
The proposed patch essentially takes this value from the iBFT and stores it in
the following registry entries:
CCS\Control\ComputerName\ComputerName\ComputerName
CCS\Services\Tcpip\Parameters\Hostname
CCS\Services\Tcpip\Parameters\NV Hostname
This appears to be sufficient for renaming a computer that is *not* a domain
member. I am not sure how this would interact with computers that *are*
domain members, and I don't have time to test it right now, so any input
would be welcome.
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: iscsiboot.patch
Type: text/x-diff
Size: 2104 bytes
Desc: not available
Url : http://etherboot.org/pipermail/gpxe/attachments/20100320/895a5e41/attachment.bin
More information about the gPXE
mailing list