Skip to content
Snippets Groups Projects
Commit b08d51b6 authored by Seblu's avatar Seblu
Browse files

Remove restart command

parent 4995da7b
No related branches found
No related tags found
No related merge requests found
......@@ -56,22 +56,6 @@ class Command_destroy(TqlCommand):
self.rpccall("destroy", self.args[0])
class Command_restart(TqlCommand):
'''Restart a vm'''
def __init__(self, cli, argv0):
TqlCommand.__init__(self, cli, argv0)
self.tql_filter += "&r=vm&status=running"
def __call__(self, argv):
# arg parse
self.parse_args(argv)
if len(self.args) != 1:
raise cmdBadArgument()
# rpc call
self.rpccall("restart", self.args[0])
class Command_pause(TqlCommand):
'''Pause a running vm'''
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment