I'm marking this invalid in both ubuntu and cloud-init upstream.
If cloud-config like the following does not do what you want, please re-open:
#cloud-config
manage_etc_hosts: True
hostname: my-hostname-here
** Changed in: cloud-init
Status: Incomplete => Invalid
** Changed in: cloud-init (Ubuntu)
Status: Confirmed => Invalid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/768296
Title:
Setting hostname via config is not reflected in /etc/hosts
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/768296/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs