Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1420187

Signed-off-by: Pavel Hrdina <[email protected]>
---
 virtinst/cloner.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/virtinst/cloner.py b/virtinst/cloner.py
index 5255acfe..ab1f036e 100644
--- a/virtinst/cloner.py
+++ b/virtinst/cloner.py
@@ -409,7 +409,7 @@ class Cloner(object):
 
             # Change the XML
             xmldisk.path = None
-            xmldisk.type = clone_disk.type
+            xmldisk.type = orig_disk.type
             xmldisk.driver_name = orig_disk.driver_name
             xmldisk.driver_type = orig_disk.driver_type
             xmldisk.path = clone_disk.path
-- 
2.11.1

_______________________________________________
virt-tools-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-tools-list

Reply via email to