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 Server Team, which is subscribed to cloud-init in 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-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs