How to preserve the hostname

asked 2019-03-11 10:25:03 +0200

Zuhran gravatar image

updated 2019-03-11 10:25:33 +0200

How can we restrict the cloudbase-init from changing the hostname of a VM after the first 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/l...

Thanks.

edit retag flag offensive close merge delete