The easiest way to fix this on linux mint for me was to edit:
/usr/share/initramfs-tools/scripts/init-bottom/dropbear
add these two lines to the end of file:
rm /run/net-*.conf rm /run/netplan/*.yaml
save and run:
update-initramfs -u
The easiest way to fix this on linux mint for me was to edit:
/usr/share/ initramfs- tools/scripts/ init-bottom/ dropbear
add these two lines to the end of file:
rm /run/net-*.conf
rm /run/netplan/*.yaml
save and run:
update-initramfs -u