Changeset 158


Ignore:
Timestamp:
Oct 9, 2007, 7:23:39 PM (17 years ago)
Author:
ecprice
Message:

destroy machines before trying to delete them.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/templates/main.py

    r157 r158  
    511511def deleteVM(machine):
    512512    """Delete a VM."""
     513    remctl('destroy', machine.name)
    513514    transaction = ctx.current.create_transaction()
    514515    delete_disk_pairs = [(machine.name, d.guest_device_name) for d in machine.disks]
Note: See TracChangeset for help on using the changeset viewer.