[00:27] <jilocasin> evening evceryone.
[00:27] <jilocasin> Does anyone know where cloud-init stores the hostname?
[00:36] <jilocasin> Anyone?
[00:59] <jilocasin> Does no one here know where cloud-init stores the initial hostname given at install?
[01:27] <jilocasin> this is some seriously brain damaged stuff
[01:32] <jilocasin> 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] <jilocasin> 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] <jilocasin> Any idea why any of this *isn't* mentioned in _any_ of the docs?
[02:22] <jilocasin> then of course there's always /var/lib/cloud/data/set-hostname
[02:22] <jilocasin> Uggg.
[23:22] <factor> Does cloud-init know the IP address that would be assigned to the instance? So I could modify configs based on it?