[22:09] <hatifnatt> rharper: Hello again, I build cloud-init package v18.2 for Debian but it's still looks like hostname updated too late. According to the logs there is no hostname modification done at 'local' stage. Here is my config and log for local part https://paste.ubuntu.com/p/P9qKRcjWmv/ please take a look if you can. Tnaks in advance.
[22:45] <hatifnatt> Also I made same test with Ubuntu Bionic cloud image (https://cloud-images.ubuntu.com/bionic/20180518/) and get exactly same result - stub hostname leak to DDNS via DHCP. This image contain cloud-init version 18.2-27-g6ef92c98-0ubuntu1~18.04.1