Add inplicit shutdown/stop to disable command #148
Labels
No Label
API
blocked
bug
CLI
Client
Daemon
debt
documentation
feature
improvement
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: parallelvirtualcluster/pvc#148
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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
disable
after 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 disable
implicitly do ashutdown
and add an explicit flag forstop
i.e.--force
or--stop
.Make
pvc vm shutdown
andpvc vm stop
take a--disable
flag 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