New Question

Revision history [back]

click to hide/show revision 1
initial version

How to preserve the hostname

How can we restrict the cloudbase-init from changing the hostname of a VM after the first boot of the VM?

In case of Linux, I see that cloud-init has a parameter "preserve_hostname" [1].

Is there any such parameter available? Or just disabling the SetHostname Plugin will work?

[1] https://cloudinit.readthedocs.io/en/latest/topics/modules.html#set-hostname

Thanks.

How to preserve the hostname

How can we restrict the cloudbase-init from changing the hostname of a VM after the first boot of the VM?boot?

In case of Linux, I see that cloud-init has a parameter "preserve_hostname" [1].

Is there any such parameter available? Or just disabling the SetHostname Plugin will work?

[1] https://cloudinit.readthedocs.io/en/latest/topics/modules.html#set-hostname

Thanks.