[baylisa] Re: wtf: hostid gives '0' as a hostid

cerise at armory.com cerise at armory.com
Mon Feb 18 19:29:51 PST 2008


On Mon, Feb 18, 2008 at 07:07:39PM -0800, Jeff Younker wrote:
> 1) IP addresses change.

Irrelevant, so long as /etc/hostid changes with it.  It marks a
unique host.
 
> 2) when using dhcp all machines end up using 127.0.0.1 as the
>     basis for their hostid.

That's not true.  All machines that have their hostname resolve
to 127.0.0.1 use 127.0.0.1 as the basis for their hostid.

Using the -c switch with dhcpcd could solve this problem pretty
easily.

-Phil/CERisE



More information about the Baylisa mailing list