Closed tomastzn closed 2 years ago
Hi. As the help mentioned this option is only intended for physical machines (where it is used to create the user-data.yaml contents in the cidata partition).
For non-physical machines the hostname is set via user-data provided by whatever mechanism the relevant DataSource uses (ISO, metadata server, etc).
I will add some logic to give an error if this option is specified for a non-physical machine.
Created script with following options:
Converted the image to
vmdk
type with following command:Booted up a VM on ESXI host with the generated disk image the host name was
localhost
.It seems the the option is either being ignored or the default cloud-init is overwriting it at boot time.