Merge ~morphis/snappy-hwe-snaps/+git/network-manager:netplan-support into ~snappy-hwe-team/snappy-hwe-snaps/+git/network-manager:master
Proposed by
Simon Fels
Status: | Merged |
---|---|
Approved by: | Tony Espy |
Approved revision: | f3b5400dfb64fc6d89e517f3c61ea797abce2090 |
Merged at revision: | 6abb25470df3a5f9278d631b775aa8f935013180 |
Proposed branch: | ~morphis/snappy-hwe-snaps/+git/network-manager:netplan-support |
Merge into: | ~snappy-hwe-team/snappy-hwe-snaps/+git/network-manager:master |
Diff against target: |
92 lines (+30/-16) 3 files modified
bin/networkmanager (+28/-9) conf/NetworkManager.conf (+0/-6) snapcraft.yaml (+2/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Tony Espy | Approve | ||
System Enablement Bot | continuous-integration | Approve | |
Review via email: mp+306488@code.launchpad.net |
Description of the change
Add support for netplan.
This adds support to take configuration files into account which are generated by netplan. There are a few things we have to change for that:
* Don't copy default configuration to $SNAP_DATA but rather check if one is available there and use that one conditionally
* Manage ethernet devices again but only if netplan renders NetworkManager connection files (checks if /etc/netplan/
* Don't auto configure ethernet ports when netplan is used to avoid mismatches between console-conf UI and actual configuration
To post a comment you must log in.
Looks good to me.
Please add a comment if/when you've tested on a real system, and I'll top-approve.