[baylisa] Re: wtf: hostid gives '0' as a hostid
Jeff Younker
jeff at drinktomi.com
Mon Feb 18 20:32:28 PST 2008
On Feb 18, 2008, at 12:22 PM, Asheesh Laroia wrote:
> My suggestion would be, if you want to go totally nuts, dmidecode |
> md5sum. So long as the hardware doesn't change, that'd be a pretty
> good reference point. (Bonus points for grep -v'ing out the RAM or
> a few other volatile parts, I suppose.)
That's actually a pretty cool idea, particularly with regard to pulling
out the volatiles.
> If you dmidecode | hash_function > /etc/hostid once, when the
> machine is installed, that seems pretty good to me.
Yeah, but if you've got the dmidecode function on the local system you
don't really need /etc/hostid any more.
-jeff
More information about the Baylisa
mailing list