I linked a couple other bugs here.
What I think we should do is have local datasources set the hostname (`hostname <foo>`) and update the system's config (write to /etc/hostname) at local time frame once per instance.
Then, on that first instance boot, the dhcp would occur with the cloud-provider provided hostname.
That could be overridden by local system config (preserve_hostname) so that it would not happen.
It seems to me to make sense right now for this to *only* happen at local time frame.
I linked a couple other bugs here.
What I think we should do is have local datasources set the hostname (`hostname <foo>`) and update the system's config (write to /etc/hostname) at local time frame once per instance.
Then, on that first instance boot, the dhcp would occur with the cloud-provider provided hostname.
That could be overridden by local system config (preserve_hostname) so that it would not happen.
It seems to me to make sense right now for this to *only* happen at local time frame.