Timed undo network change?

FuriousRage

Renowned Member
Oct 17, 2014
119
4
83
Hi.
I installed proxmox on my hetzner yesterday over kvm/bootable usb.
Got so far that i started to follow a guide to get all VM:s on vSwitch, so i removed the server IP from the vmbr1 that had the server IP set (was going to set it to eno0 instead).
So i removed all the vmbr and pressed apply in the web gui, and lost connection (no ip on the server anymore doh)


Is there a way i can get a timed undo-rescue when i do some change like this, so if i cannot get back into the server to stop the timer in x minutes, it revert that network change so it will let me back in due to clumsy fingers?
 
Hello,
before these kind of operations in better to do a backup of /etc/network/interfaces
Code:
cp /etc/network/interfaces /etc/network/interfaces.old

I hope that your server has an server management to simulate CLI :)
 
Hello,
before these kind of operations in better to do a backup of /etc/network/interfaces
Code:
cp /etc/network/interfaces /etc/network/interfaces.old

I hope that your server has an server management to simulate CLI :)
Hi. Since my server is on Hetzner, i have no "backup" interface, in case i screw up the config.
Like now when i get home, i more or less have to change the public facing ip for my proxmox host (so i can use the second one in opnSense with correct mac), if this change does not work out, in SOL and might be able to revert the change over rescue mode.