subiquity/subiquitycore/controllers
Scott Moser 3e69673501 Fix writing of netplan configs
When user configures network with subiquity, it's rendered
netplan should be wholly definitive.  So, we remove the other files
that may have config.  This fixes a bug where running in an instance
when running on a system where cloud-init had rendered a 'match' with
'macaddress'.

When writing netplan we keep 'macaddress' match in place but drop
others.  The others may just wildcard from the installer environment,
but macaddress are likely by cloud-init or otherwise intentionally
written.

Also add an atomic write in subiquitycore/file_util and move the
netplan code into subiquitycore/netplan.py, and add some unit test
helpers from cloud-init.
2018-06-07 11:46:34 -04:00
..
__init__.py Re-introduce 'subiquity' package for installer specific things. 2016-07-25 12:51:39 +12:00
login.py get subiquity to the point where it at least starts 2016-11-21 13:32:58 +13:00
network.py Fix writing of netplan configs 2018-06-07 11:46:34 -04:00