On Fri, May 28, 2004 at 10:53:11PM +0200, Frans Pop wrote: > After the reboot, I _do_ have a hostname, but it isn't being sent to the > server as part of the DHCP request. > > Up to now I've always solved this by manually adding a line > send host-name "<hostname>"; > to dhclient.conf after the installation. > As far as I can tell, this is needed for both dhcp and dhcp3. Ah, okay. Yes, my WC has some changes that copy the dhclient.conf file into /target for the prebaseconfig script. Actually the reason why that hasn't been committed is because I removed all the silly di_system_prebaseconfig_append calls and created a static prebaseconfig script that just goes: for file in /etc/network/interfaces /etc/hostname .... /etc/dhclient.conf; do rm -f /target/$file cp $file /target/$file done I don't see the sense of generating it on the fly. Can anyone tell me why we've been doing it that way for ages now? -- Joshua Kwan
Attachment:
signature.asc
Description: Digital signature