From 449bcb09aca33e1da0864cf1a573791754b0fbe6 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Tue, 5 Apr 2011 00:12:32 +0200 Subject: [PATCH] Don't remove VM dir, when qvm-create failed It can contain user data (copied here by hand) --- dom0/qvm-tools/qvm-create | 1 - 1 file changed, 1 deletion(-) diff --git a/dom0/qvm-tools/qvm-create b/dom0/qvm-tools/qvm-create index b2d94a22..eaa86352 100755 --- a/dom0/qvm-tools/qvm-create +++ b/dom0/qvm-tools/qvm-create @@ -156,7 +156,6 @@ def main(): except (IOError, OSError) as err: print "ERROR: {0}".format(err) - vm.remove_from_disk() exit (1)