X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/ffedf521f48eafd55ed0569b6e3b3697fb27cc92..c3b0e360288fbcc074815bbac76ff54078a6ca58:/templates/main.py?ds=sidebyside diff --git a/templates/main.py b/templates/main.py index f798cbf..c6006f4 100755 --- a/templates/main.py +++ b/templates/main.py @@ -510,6 +510,7 @@ def getDiskInfo(data_dict, machine): def deleteVM(machine): """Delete a VM.""" + remctl('destroy', machine.name) transaction = ctx.current.create_transaction() delete_disk_pairs = [(machine.name, d.guest_device_name) for d in machine.disks] try: