Comment 3 for bug 1997467

Revision history for this message
Lukas Märdian (slyon) wrote :

I can confirm this is a regression and happens with an even simpler reproducer like this:

# cat > /etc/netplan/0-snapd-defaults.yaml <<EOF
network:
  version: 2
  bridges:
    br54:
      dhcp4: true
EOF
# netplan set --origin-hint 90-snapd-config "network.bridges.br54.dhcp4=false"

Seems to happen whenever the setting is about to be overridden (i.e. already exists in another file, like 0-snapd-defaults.yaml here).

Most probably related to switching the backend for `netplan set` to libnetplan: https://github.com/canonical/netplan/pull/254

Needs further debugging.