def stop(cls, vm_id):
     ShellUtils.command(["qm", "stop", vm_id])
 def suspend(cls, vm_id):
     ShellUtils.command(["qm", "suspend", vm_id])
 def resume(cls, vm_id):
     ShellUtils.command(["qm", "resume", vm_id])
 def status(cls, vm_id):
     return ShellUtils.command(["qm", "status", vm_id])
示例#5
0
 def stop(cls, vm_id):
   ShellUtils.command(["qm", "stop", vm_id])
示例#6
0
 def resume(cls, vm_id):
   ShellUtils.command(["qm", "resume", vm_id])
示例#7
0
 def suspend(cls, vm_id):
   ShellUtils.command(["qm", "suspend", vm_id])
示例#8
0
 def status(cls, vm_id):
   return ShellUtils.command(["qm", "status", vm_id])