I created a file 
/etc/initramfs-tools/scripts/init-bottom/deconfigure-interfaces:
#!/bin/sh

rm -f /run/netplan/*

-----

That works fine as a workaround! Flushing the device is not needed.

> 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.

The package is called 'dropbear-initramfs', not dropbear.

I checked what dropbear-initramfs is doing:
It installs a script 
`/usr/share/initramfs-tools/scripts/init-premount/dropbear` , which uses the 
function `configure_networking()` defined in 
`/usr/share/initramfs-tools/scripts/functions`. 

The latter script is owned by the `initramfs-tools-core` package.

I would assign this bug to that package, as it should imo take care of
leaving the networking it has setup in a sane state when starting the OS
proper.

-- 
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