The wiki already mentions a problem with the cloud-init images default hostname, which should work with versions > 18.2. However, i tried latest bionic image with 18.2-27-g6ef92c98-0ubuntu1~18.04.1 and it still get's it's dhcp lease for ubuntu rather then the vm hostname (which is properly set inside the vm).