Comment 1 for bug 1819966

Revision history for this message
Ryan Harper (raharper) wrote :

Hello,

Thanks for file a bug. Cloud-init has included a sysconfig renderer for quite some time. It does indeed render the contents of /etc/sysconfig/network.

The sysconfig renderer doesn't currently support adding additional values through the network configuration format.

We should see if we can read/update the contents of the file instead of writing one from scratch.
There is an existing update_sysconfig_file, so we should take a look at using that instead.