While working on a remote server, it took me 2-3 hours to locate this bug report and apply its workarounds. It's certainly not a good default behavior.
In case someone has already removed netplan, the recommended steps to get network-manager to manage the interfaces, as I understood them, are:
```
sudo -i
apt install ubuntu-minimal
echo "# Let NetworkManager manage all devices on this system
network:
version: 2
renderer: NetworkManager" >/etc/netplan/01-network-manager-all.yaml
update-initramfs -u # Not sure if this is needed or not
reboot
```
I.e. I think that /etc/netplan/01-network-manager-all.yaml comes from some installer and it's not part of some package and it needs to be manually re-created.
While working on a remote server, it took me 2-3 hours to locate this bug report and apply its workarounds. It's certainly not a good default behavior.
In case someone has already removed netplan, the recommended steps to get network-manager to manage the interfaces, as I understood them, are:
``` 01-network- manager- all.yaml
sudo -i
apt install ubuntu-minimal
echo "# Let NetworkManager manage all devices on this system
network:
version: 2
renderer: NetworkManager" >/etc/netplan/
update-initramfs -u # Not sure if this is needed or not
reboot
```
I.e. I think that /etc/netplan/ 01-network- manager- all.yaml comes from some installer and it's not part of some package and it needs to be manually re-created.