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.
-- 
https://code.launchpad.net/~harlowja/cloud-init/system-conf-goodies/+merge/129071
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.

_______________________________________________
Mailing list: https://launchpad.net/~cloud-init-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~cloud-init-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to