[patch] virtinst - vmdk disk conversion regression in diskcfg.py

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When attempting to convert virt-image format machines into vmware vmdk disk format it errors out. Attached is a patch to correct this.

  1.
     Generating output in "vmx" format to jboss-as5-appliance/
  2.
     Converting disk "jboss-as5-appliance-sda.raw" to type vmdk...
  3.
     Thu, 22 Jan 2009 15:17:46 DEBUG    Creating directory
     jboss-as5-appliance
  4.
     Thu, 22 Jan 2009 15:17:46 DEBUG    input_file:
     build/appliances/x86_64/jboss-as5-appliance/jboss-as5-appliance.xml.vmx-input
  5.
     Thu, 22 Jan 2009 15:17:46 DEBUG    input_dir:
     /home/goldmann/git/jboss-cloud/build/appliances/x86_64/jboss-as5-appliance
  6.
     Thu, 22 Jan 2009 15:17:46 DEBUG    output_file:
     jboss-as5-appliance/jboss-as5-appliance.vmx
  7.
     Thu, 22 Jan 2009 15:17:46 DEBUG    output_dir:
     /home/goldmann/git/jboss-cloud/build/appliances/x86_64/jboss-as5-appliance
  8.
     Thu, 22 Jan 2009 15:17:46 ERROR    Couldn't convert disks: Cannot
     convert to disk format vmdk



diff -r c13bca1c21fb virtconv/diskcfg.py
--- a/virtconv/diskcfg.py	Wed Jan 14 12:36:11 2009 -0500
+++ b/virtconv/diskcfg.py	Thu Jan 22 12:24:51 2009 -0500
@@ -235,7 +235,8 @@
 
         if not (out_format == DISK_FORMAT_NONE or
             out_format == DISK_FORMAT_VDISK or
-            out_format == DISK_FORMAT_RAW):
+            out_format == DISK_FORMAT_RAW or
+            out_format == DISK_FORMAT_VMDK):
             raise NotImplementedError("Cannot convert to disk format %s" %
                 output_format)
 
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux