But let’s hope you saved your dpkg list! I completely uninstalled everything a few weeks ago (like really everything, including network-manager) on a server because I had typos in my sources.list and didnt bother looking at what I’m doing on the apt upgrade. Gladly I backed up the list of installed packages before that. Mounted the debian boot-disc to the VM, reinstalled network-manager and sshd and then I could fix the rest of the system
Don’t forget that you can also set up the network manually (usually) as long as you have a tool to set your IP address or dhclient for get a DHCP address (and wpa_supplicant if you need wireless)
But let’s hope you saved your dpkg list! I completely uninstalled everything a few weeks ago (like really everything, including network-manager) on a server because I had typos in my sources.list and didnt bother looking at what I’m doing on the apt upgrade. Gladly I backed up the list of installed packages before that. Mounted the debian boot-disc to the VM, reinstalled network-manager and sshd and then I could fix the rest of the system
Don’t forget that you can also set up the network manually (usually) as long as you have a tool to set your IP address or dhclient for get a DHCP address (and wpa_supplicant if you need wireless)