/srv/irclogs.ubuntu.com/2019/08/25/#cloud-init.txt

jilocasinevening evceryone.00:27
jilocasinDoes anyone know where cloud-init stores the hostname?00:27
jilocasinAnyone?00:36
jilocasinDoes no one here know where cloud-init stores the initial hostname given at install?00:59
jilocasinthis is some seriously brain damaged stuff01:27
jilocasinapparently it stores the initial hostname (and the one it will revert to unless you set preserve_hostname to false) in multiple locations:01:32
jilocasincloud.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
jilocasinAny idea why any of this *isn't* mentioned in _any_ of the docs?01:34
jilocasinthen of course there's always /var/lib/cloud/data/set-hostname02:22
jilocasinUggg.02:22
factorDoes cloud-init know the IP address that would be assigned to the instance? So I could modify configs based on it?23:22

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!