[UC20][NETPLAN] Add net plan configuration to gadget.yaml but still get default configuration in system
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OEM Priority Project |
Confirmed
|
Critical
|
ChunAnWu | ||
snapd |
New
|
Undecided
|
Unassigned |
Bug Description
we added the configuration below to gadget.yaml
###
system:
network:
netplan:
network:
en1:
- 192.168.0.200/24
en2:
###
but what we got in system by command "snap get -d system" is configuration below
looks like it append our configuration not override.
###
"system": {
},
###
Changed in oem-priority: | |
assignee: | nobody → ChunAnWu (kiya956) |
importance: | Undecided → Critical |
status: | New → Confirmed |
tags: | added: oem-priority |
Yeah, this is a bug/misfeature. The easiest workaround might be:
version: 2
ethernets:
all-en: null
"""
system:
network:
netplan:
network:
...
"""