Providing a global variable for network confirmation changes by default

Hiya

Could we have IncusOS have a system/cluster global variable that ensures a network change rollback happens if the change is not confirmed?

This has bitten me today. I was trying to add bonds via the UI but the change didn’t work and everything networking was broken from then on. I ended up just reinstalling IncusOS to the hardware (after a dd to the disk to wipe out everything - another gripe for another day). Luckily this is a test system so not like I lost a working setup. confirmation_timeout is a lot to type where it should be a given there is a default timeout to rollback network changes.

Thanks

Iain

We do have support for rollback support in the network configuration.

Support is one thing, but you have to remember to add that every single change. That is the problem - it should be a default on or a configurable default.

Changes to networking should be auto-rollback, rather than ‘tough if you didn’t supply a rollback for a simple change that you thought would work’.

AKA - its too easy to brick IncusOS because of network changes.

A recovery mode would be a good idea also - something to interact with the API at the terminal when in that mode on physical hardware.