Accidently removed ifupdown when updating to ifupdown2. Cant connect to remote dedicated machine, help!

Do you have access to the machine somehow? SSH or a remote console via IPMI/iLO/...? Then you can use the ip command to manually set an IP address to get the network back up to the point where you can install ifupdown2.

There are a few cheat sheets for it that you can easily google.

The most important command in your situation is probably:
Code:
ip addr add <ip addr>/<subnet cidr> dev <nic>
.

For example:
Code:
ip addr add 192.168.1.10/24 dev eno1

You can get a list of NICs with ip a
 
My hosting provider just restarted the dedi and I am able to connect again.

Fucking hell man I nearly got a heart attack.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!