Remove deplicate vm definition in oneshot --stop
This commit is contained in:
parent
17d0c61407
commit
9e2751c41e
1 changed files with 0 additions and 1 deletions
|
@ -104,7 +104,6 @@ def main(arguments):
|
|||
vm.start()
|
||||
elif arguments['stop']:
|
||||
vm = virtualmachine.VM(vmm, {'uuid': arguments['stop']})
|
||||
vm = virtualmachine.VM(vmm, vm_config)
|
||||
vm.stop()
|
||||
elif arguments['get_status']:
|
||||
vm = virtualmachine.VM(vmm, {'uuid': arguments['get_status']})
|
||||
|
|
Loading…
Reference in a new issue