[11:07] hey guys, how can i set the hostname with cloud-init on ubuntu 16.04 so that it sends it’s new name to the dhcp server [11:07] this ‘send host-name = gethostname();’ in dhclient.conf gets the old name [11:07] once i reboot the VM the hostname is sent correctly [11:08] is there a way to do this? [11:08] im using qemu-kvm and the user-data is on a cdrom iso image === shardy is now known as shardy_lunch === shardy_lunch is now known as shardy === rangerpbzzzz is now known as rangerpb [18:01] powersj: you poked on cloud-init snappy and package install, I noticed that if you ssh in , the config-final modules aren't done yet; so initially snap list didn't show those py-numpy and such, but after the module completes they are present [18:12] rharper: interesting I'll give it another round this afternoon [18:12] maybe I didn't wait long enough :( [18:13] I usually wait for /var/lib/cloud/instance/boot-finished to show up [19:12] powersj: ok [19:20] powersj: http://paste.ubuntu.com/23512996/ ; the 'ready' state of the last snap installed corresponds pretty much to the timestamp on boot-finished ; snap install doesn't appear to be async; but I suppose it's possible that a snap install has completed, but it doesn't appear in snap list until it's ready and that may be async from cloud-init finish [21:13] rharper: I'm starting to wonder if all my issues are with the fact that I'm using LXD as a backend [21:13] is that what you are using? or VMs? [21:19] powersj: vms [21:19] it's possible there's an issue with snappy under lxd, you may need to update your host (lxd updates) [21:19] and/or ensure we launch with a profile that supports snappy under lxd (nested security support is needed) [21:20] that may be kernel (4.8 or updates to 4.4) etc [21:20] I suggest asking in #lxd for the right levels/config options needed === rangerpb is now known as rangerpbzzzz