=== tds7 is now known as tds === tds1 is now known as tds [07:51] whoohoo! Green! https://github.com/canonical/cloud-init/pull/363 [08:43] whoa, who would've thought exchanging one file, but not… everything it touches, could somehow break the system??! [13:24] Weird how that works. :) [14:01] Hi! Is there a nice way to set a short name as static host name instead of the FQDN? (with cloud-init of course) [14:01] Or should I make it with a runcmd? [14:02] I mean ask cloud-init to set only hostname into the /etc/hostname instead of the hostname.domain. === bigjazzs1und is now known as bigjazzsound [14:37] andras-kovacs: What distro are you running on? [14:39] Red Hat... [14:40] I think a runcmd part will be fine like hostnamectl set-hostname "${HOSTNAME/.*/}" [14:40] It's a bit messed up scenario :( [14:43] andras-kovacs: https://github.com/canonical/cloud-init/blob/master/cloudinit/distros/rhel.py#L80-L91 is the code that performs the hostname set on Red Hat. [14:44] andras-kovacs: The hostname passed there is determined by _select_hostname below, and out_fn is self.hostname_conf_fn (so "/etc/sysconfig/network" in this case, I _think_). [14:45] That's about as much help as I can be for RH hostname setting though, I'm afraid. [14:45] (Feel free to ask more Qs though! I just don't have the background to speak with authority.) [15:07] Very many thanks!! [17:18] Odd_Bloke: more questions, or rather, the key question. [17:18] up on GitHub. === tds4 is now known as tds [19:45] falcojr: FYI, I don't know the answers to some of your Qs in https://github.com/canonical/cloud-init/pull/367 off-hand, so I'm doing some research. [19:46] sounds good [20:00] falcojr: Could you pastebin an example traceback produced by the code in that PR? (You should have one in cloud-init.log.) [20:01] sure [20:01] Thx! [20:04] https://paste.ubuntu.com/p/cH8rWmwQ4z/ [20:04] looks like I missed a substitution [20:07] I'll put it in a github comment too [20:09] falcojr: Cool, you've presumably seen my comment then. :) [20:10] yep, I've been looking in some of the same areas [20:10] Cool, will follow up on your higher-level behavioural questions now. [20:23] falcojr: OK, I've replied with the behavioural questions; I've skirted around talking about implementation to give you the opportunity to think about it unbiased, so let me know if you'd like to discuss that some more. [20:24] s/questions/answers/