jilocasin | evening evceryone. | 00:27 |
---|---|---|
jilocasin | Does anyone know where cloud-init stores the hostname? | 00:27 |
jilocasin | Anyone? | 00:36 |
jilocasin | Does no one here know where cloud-init stores the initial hostname given at install? | 00:59 |
jilocasin | this is some seriously brain damaged stuff | 01:27 |
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:32 |
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? | 01:34 |
jilocasin | then of course there's always /var/lib/cloud/data/set-hostname | 02:22 |
jilocasin | Uggg. | 02:22 |
factor | Does 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!