Commit 9108e20a by Őry Máté

vm: deny saving pending machine

closes #287
parent 8045b135
......@@ -515,7 +515,7 @@ class SaveAsTemplateOperation(InstanceOperation):
"start an instance of it.")
abortable = True
required_perms = ('vm.create_template', )
accept_states = ('RUNNING', 'PENDING', 'STOPPED')
accept_states = ('RUNNING', 'STOPPED')
async_queue = ""
def is_preferred(self):
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