Specifying NetworkManager renderer per-interface doesn't work for ethernet interfaces
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Netplan |
In Progress
|
Undecided
|
Unassigned |
Bug Description
I tried to use NetworkManager with the following file:
network:
version: 2
ethernets:
eth0:
It didn't work. nmcli reported that eth0 was 'unmanaged'.
The following file did work - moving NetworkManager to global scope:
network:
version: 2
renderer: NetworkManager
ethernets:
eth0:
I think this is due to the following in generate.c:
/* Disable /usr/lib/
* (which restricts NM to wifi and wwan) if global renderer is NM */
if (get_global_
I think it needs to write a file if there is *any* NM interface, not just if the global backend is NM.
summary: |
- Specifying NetworkManager renderer per-interface only works for Wifi - interfaces + Specifying NetworkManager renderer per-interface doesn't work for + ethernet interfaces |
tags: | added: id-5cc72cfe22e00d7a830c4ce6 |
PR Proposed: https:/ /github. com/CanonicalLt d/netplan/ pull/40