cloud-init-dev team mailing list archive
Mailing list archive
Re: [Merge] lp:~harlowja/cloud-init/system-conf-goodies into lp:cloud-init
How is this going to work for a distro like Fedora, where the only reliable way to set a hostname persistently is to edit both /etc/hostname *and* /etc/sysconfig/network in addition to /etc/hosts? (Yes, this is the bug I was working on earlier. ;-)
QuotingConfigObj is going to put double-quotes around nearly everything it writes to /etc/sysconfig/network, which is going to break things on Fedora because systemd just reads everything after 'HOSTNAME=' and passes that to sethostname(2).
I recommend saying "non-persistently" instead of "temporarily", which sounds more like a state that cloud-init is going to revert before it terminates.
Your team cloud init development team is requested to review the proposed merge of lp:~harlowja/cloud-init/system-conf-goodies into lp:cloud-init.