Remove deplicate vm definition in oneshot --stop

This commit is contained in:
fnux 2020-01-30 08:52:24 +01:00
parent 17d0c61407
commit 9e2751c41e

View file

@ -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']})