Hi Yannik,

I think you have two options:
1) Workaround by adding /etc/netplan/xxx.yaml (or any other name which 
lexically sorts after "enp1s0.yaml"):
network:
  version: 2
  renderer: NetworkManager
  ethernets:
    enp1s0:
      dhcp4: true

2) Cleanup dropbear-initramfs interfaces (as described at "Ask Ubuntu"):
/etc/initramfs-tools/scripts/init-bottom/deconfigure-interfaces:
rm -f /run/netplan/enp1s0.yaml && ip -f inet address flush dev enp1s0

You probably need to run 'update-initramfs -u' afterwards again...

IMO option (2) is actually a proper solution, this is why I am assigning
this bug to 'dropbear', as I think it should automatically cleanup the
interfaces/configs it created, once they are not needed anymore.

** Changed in: netplan.io (Ubuntu Focal)
       Status: New => Invalid

** Changed in: netplan.io (Ubuntu Groovy)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1876884

Title:
  netplan using incorrect renderer

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dropbear/+bug/1876884/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to