Add inplicit shutdown/stop to disable command #148
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It's a bit annoying to have to remember to set a VM as
disableafter stopping it or triggering a degraded cluster. It would be nice to go right to "disable" afterwards.I can think of two ways to do this:
Make
pvc vm disableimplicitly do ashutdownand add an explicit flag forstopi.e.--forceor--stop.Make
pvc vm shutdownandpvc vm stoptake a--disableflag which then immediately sets the VM to disable.Either way should be done on the API side with the corresponding CLI enhancement.
Not too sure which one is nicer, will have to think on it.
I think 2 is the nicer way to do things.Scratch that, since 2 is nearly impossible to implement with how states are transferred. Let's do 1 instead.
joshuaboniface referenced this issue2022-10-07 23:31:39 -04:00