[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: diskless clients getting a wierd hostname...



Where do I put the script?

Do I put it in my initrd.img for my diskless clients?

Or do I put it somewhere in my diskless/root/etc or snapshot/etc
directories?


-Brent

Brent Clements
Linux Technology Specialist
Information Technology
Rice University

Linux Rice news and information
available only at http://linuxsupport.rice.edu


On Fri, 16 Jul 2004, John Haxby wrote:

> Brent M. Clements wrote:
>
> >I am serving up RH EL 3 Diskless clients using the RHEL 3 tools.
> >
> >Everything works great except one thing. The hostnames aren't being
> >propogated to the machines.
> >
> >
> dhclient doesn't set the hostname by default.    You need a script in
> /etc/dhclient-enter-hooks which is documented in dhclient-script(8).
> For the sake of example, I've attached mine which fiddles around with
> the search path as well for hostnames at work.
>
> jch
>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]