diff options
-rw-r--r-- | INFO | 4 | ||||
-rw-r--r-- | deploy/environments/execution_environment.py | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -16,9 +16,11 @@ nikolas.hermanns@ericsson.com jonas.bjurel@ericsson.com stefan.k.berg@ericsson.com daniel.smith@ericsson.com -szilard.cserey@ericsson.com +szilard.cserey@gmail.com mskalski@mirantis.com ruijing.guo@intel.com +fzhadaev@mirantis.com +Alexandru.Avadanii@enea.com Link to TSC approval of the project: http://meetbot.opnfv.org/meetings/opnfv-meeting/2015/opnfv-meeting.2015-07-07-13.59.log.html Link(s) to approval of additional committers: http://ircbot.wl.linuxfoundation.org/meetings/opnfv-fuel/2016/opnfv-fuel.2016-04-28-11.49.html diff --git a/deploy/environments/execution_environment.py b/deploy/environments/execution_environment.py index af0e130dd..3812902aa 100644 --- a/deploy/environments/execution_environment.py +++ b/deploy/environments/execution_environment.py @@ -46,9 +46,7 @@ class ExecutionEnvironment(object): disk_files.append(source_file) log('Deleting VM %s with disks %s' % (vm_name, disk_files)) exec_cmd('virsh destroy %s' % vm_name, False) - exec_cmd('virsh undefine %s' % vm_name, False) - for file in disk_files: - delete(file) + exec_cmd('virsh undefine --managed-save --remove-all-storage %s' % vm_name, False) def overwrite_xml(self, vm_xml, vm_definition_overwrite): if not vm_definition_overwrite: |