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
Marking confirmed in Ubuntu's cloud-init, and subscribing Marc Cluet,
who is hitting some issues with this, when trying to run a rabbitmq-
server in an Ubuntu cloud instance.
It seems that the rabbitmq-server needs to be able to resolve the
system's host name.
We're trying to figure out the best