On 26 April 2014 06:21, Patrik Lundin <[email protected]> wrote: > Hello, > > I have tried out the autoinstall functionality and it worked great. The > install log turning up as an email was a very nice touch. > > One thing that I was thinking about when looking at the examples in > autoinstall(8) was that while "System hostname" is set in the response > file example, it is also primed via the dhcpd.conf host example. > > Just setting it in dhcpd.conf will lead to one less place to keep track > of while keeping the response file less host specific. Does this sound > reasonable? > > Regards, > Patrik Lundin > > Index: autoinstall.8 > =================================================================== > RCS file: /cvs/src/share/man/man8/autoinstall.8,v > retrieving revision 1.7 > diff -u -r1.7 autoinstall.8 > --- autoinstall.8 24 Feb 2014 23:43:26 -0000 1.7 > +++ autoinstall.8 26 Apr 2014 09:48:48 -0000 > @@ -132,7 +132,6 @@ > .Sh EXAMPLES > A typical install.conf file will look something like this: > .Bd -literal -offset indent > -System hostname = server1 > Password for root = $2a$14$Z4xRMg8vDpgYH...GVot3ySoj8yby > Change the default console to com0 = yes > Which speed should com0 use = 19200 >
Assuming you mean dhclient.conf and not dhcpd.conf, the hostname of the system is not currently set by dhclient even if it is supplied. The install process does cause dhclient to send the configured hostname to the dhcpd server for it's own record keeping purposes. .... Ken
