Hello, On Fri, Sep 25, 2020 at 07:49:19AM -0400, Greg Wooledge wrote: > On Fri, Sep 25, 2020 at 07:44:25AM +0000, Andy Smith wrote: > > "hostid" tends to return a hexadecimal representation of the first > > IPv4 address (but isn't guaranteed to). > > unicorn:~$ hostid > 007f0101 > > Doesn't look very useful. That's just 127.0.1.1 in a 16-bit little > endian format.
Oh, none of mine do that, it seems to pick the other IP address for me. But if it's a problem there are other sources of "machine" ID as I mentioned. There's some more here: http://0pointer.de/blog/projects/ids.html > You know what else works really well? Just putting a different start > time in each system's crontab. If that works for you, great, but I have quite a few machines, VMs and containers provisioned identically and would rather not have to change the scripts or configuration on a per-host basis. Cheers, Andy -- https://bitfolk.com/ -- No-nonsense VPS hosting