mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
builder: templates: set "unassigned" hostname
By default the installer will set the hostname to what the DHCP returns, exposing details of the machine where make-template.ml runs. Instead, force "unassigned-hostname.unassigned-domain" as hostname, so plays nicely with the hostname setting code in virt-customize.
This commit is contained in:
@@ -71,7 +71,7 @@ d-i netcfg/get_domain string unassigned-domain
|
||||
# If you want to force a hostname, regardless of what either the DHCP
|
||||
# server returns or what the reverse DNS entry for the IP is, uncomment
|
||||
# and adjust the following line.
|
||||
#d-i netcfg/hostname string somehost
|
||||
d-i netcfg/hostname string unassigned-hostname.unassigned-domain
|
||||
|
||||
# Disable that annoying WEP key dialog.
|
||||
d-i netcfg/wireless_wep string
|
||||
|
||||
@@ -47,6 +47,11 @@ d-i netcfg/choose_interface select auto
|
||||
d-i netcfg/get_hostname string unassigned-hostname
|
||||
d-i netcfg/get_domain string unassigned-domain
|
||||
|
||||
# If you want to force a hostname, regardless of what either the DHCP
|
||||
# server returns or what the reverse DNS entry for the IP is, uncomment
|
||||
# and adjust the following line.
|
||||
d-i netcfg/hostname string unassigned-hostname.unassigned-domain
|
||||
|
||||
# Disable that annoying WEP key dialog.
|
||||
d-i netcfg/wireless_wep string
|
||||
# The wacky dhcp hostname that some ISPs use as a password of sorts.
|
||||
|
||||
Reference in New Issue
Block a user