diff options
-rwxr-xr-x | scripts/release-test | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/release-test b/scripts/release-test index fd71fdc3..b2bca58d 100755 --- a/scripts/release-test +++ b/scripts/release-test @@ -167,14 +167,11 @@ class DeployedSystemInstance(object): # TODO: Stop assuming that destroy failed because it wasn't running pass try: - self.host_machine.virsh('undefine', self.vm_id) + self.host_machine.virsh('undefine', self.vm_id, '--remove-all-storage') except cliapp.AppException as e: # TODO: Stop assuming that undefine failed because it was # already removed pass - # TODO: Remove all attached disks, rather than just assuming it - # only has one - self.host_machine.runcmd(['rm', self.rootfs_path]) class Deployment(object): |