[gPXE] about sanbootconf

Michael Brown mbrown at fensystems.co.uk
Fri Mar 19 17:25:29 EDT 2010


On Friday 19 March 2010 20:26:37 Shao Miller wrote:
>  If copy-on-write is available,
> simply renaming each computer and then domain-joining could be an option.

Yes.  It should also be possible to automate this stage using sysprep (or 
whatever sysprep has most recently been replaced by).  I haven't tried it 
myself, though.

> > I don't understand what you mean here.
>
> I think "lsq726" is saying that only one of the DNS servers from the
> DHCP response is making it into Windows' static IP configuration
> details, as set by sanbootconf.  I could be mistaken.

OK, that makes sense.  This should be a fairly straighforward fix.  Whenever 
there are multiple IP addresses within the iBFT, they always appear as an 
array of struct ibft_ipaddr.  When a DHCP option contains multiple IP 
addresses, they appear (I am fairly sure) as an array of struct in_addr.  It 
would therefore be relatively simple to extend ibft_set_ipaddr_option() and 
ibft_set_ipaddr() to handle arrays.

Michael


More information about the gPXE mailing list