[00:27] evening evceryone. [00:27] Does anyone know where cloud-init stores the hostname? [00:36] Anyone? [00:59] Does no one here know where cloud-init stores the initial hostname given at install? [01:27] this is some seriously brain damaged stuff [01:32] apparently it stores the initial hostname (and the one it will revert to unless you set preserve_hostname to false) in multiple locations: [01:34] cloud.config.txt, user-data.txt.i, user-data.txt, and the *binary_file* obj.pk1. Not sure at the moment which if all require a change, but that's apparently where it's stored. [01:34] Any idea why any of this *isn't* mentioned in _any_ of the docs? [02:22] then of course there's always /var/lib/cloud/data/set-hostname [02:22] Uggg. [23:22] Does cloud-init know the IP address that would be assigned to the instance? So I could modify configs based on it?