genhostid(1) - Linux man page
Name
genhostid - generate and set a hostid for the current host
Synopsis
genhostid
Description
genhostid generates a random hostid and stores it in /etc/hostid, if /etc/hostid does not already
exist.
See Also
hostid(1), gethostid(2), sethostid(2)