Don't remove VM dir, when qvm-create failed
It can contain user data (copied here by hand)
This commit is contained in:
parent
1b0f198999
commit
449bcb09ac
@ -156,7 +156,6 @@ def main():
|
||||
|
||||
except (IOError, OSError) as err:
|
||||
print "ERROR: {0}".format(err)
|
||||
vm.remove_from_disk()
|
||||
exit (1)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user