New: [rhinstaller/anaconda/pulls/164 master] Generate random hostnames

sgallagher installerbot-noreply at redhat.com
Fri Jun 26 13:36:23 UTC 2015


Instead of defaulting to localhost.localdomain (which makes joining
an enterprise domain difficult), we will instead generate a random
hostname of the form <famous_person>.<adjective>.lan.

Note that if DHCP provides a hostname for this machine, the DHCP-
assigned hostname will be selected, rather than using this
randomly-assigned one.

Testing performed:
Booted two VMs, one bridged to a network which has DHCP-assigned
naming, one NATed with libvirt having no DHCP-assigned names. On
the bridged VM, anaconda selected new-host-4.home as directed by
DHCP. On the NATed VM, it selected newton.elegant.lan as directed
by this random name generation.
-- 
To view this pull request on github, visit https://github.com/rhinstaller/anaconda/pull/164


More information about the anaconda-patches mailing list