Commit aa9648f6 by Bach Dániel

vm: allow shutoff in 'PAUSED' state

parent 04f78c0d
...@@ -754,7 +754,7 @@ class ShutOffOperation(InstanceOperation): ...@@ -754,7 +754,7 @@ class ShutOffOperation(InstanceOperation):
"operation is the same as interrupting the power supply " "operation is the same as interrupting the power supply "
"of a physical machine.") "of a physical machine.")
required_perms = () required_perms = ()
accept_states = ('RUNNING', ) accept_states = ('RUNNING', 'PAUSED')
resultant_state = 'STOPPED' resultant_state = 'STOPPED'
def _operation(self, activity): def _operation(self, activity):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment