<?xml version="1.0" encoding="UTF-8" standalone="yes"?><oembed><version><![CDATA[1.0]]></version><provider_name><![CDATA[CloudForms Now]]></provider_name><provider_url><![CDATA[http://cloudformsblog.redhat.com]]></provider_url><author_name><![CDATA[johnhardy36]]></author_name><author_url><![CDATA[https://cloudformsblog.redhat.com/author/johnhardy36/]]></author_url><title><![CDATA[CloudFORMS CFME on&nbsp;KVM]]></title><type><![CDATA[link]]></type><html><![CDATA[<p>If you so happen to have the VMware OVF version of CloudFORMs CFME, and you want to convert to run on KVM, this is how.</p>
<p>1. If the OVF is zipped, Unzip the appliance image:</p>
<p>$ unzip evm-v5.1.0.4-r.zip</p>
<p>2. Convert each of the 5 disks from VMDK format to RAW:<br />
$ for i in `seq 1 5`; do qemu-img convert -p evm-v5.1.0.4-r/ovf-disk$i.vmdk disk$i.img; done<!--more--></p>
<p>3. Remove unneeded files<br />
$ rm -rf evm-v5.1.0.4-r/</p>
<p>4. Move your disk[1-5].img into place in /var/lib/libvirt/images, with the correct ownership.</p>
<p>5. Use virt-manager to create a VM such that disk1.img is an IDE disk, and disk[2-5].img are SCSI disks.  If it helps, here&#8217;s the libvirt XML for my VM:</p>
<p>$ virsh dumpxml cloudforms2</p>
<pre class="brush: xml; title: ; notranslate" title="">
&lt;domain type='kvm' id='7'&gt;
&lt;name&gt;cloudforms2&lt;/name&gt;
&lt;uuid&gt;17b323fa-27fc-39a2-382d-5e3d0fd70cbc&lt;/uuid&gt;
&lt;memory unit='KiB'&gt;4194304&lt;/memory&gt;
&lt;currentMemory unit='KiB'&gt;4194304&lt;/currentMemory&gt;
&lt;vcpu placement='static'&gt;4&lt;/vcpu&gt;
&lt;os&gt;
&lt;type arch='x86_64' machine='pc-1.2'&gt;hvm&lt;/type&gt;
&lt;boot dev='hd'/&gt;
&lt;/os&gt;
&lt;features&gt;
&lt;acpi/&gt;
&lt;apic/&gt;
&lt;pae/&gt;
&lt;/features&gt;
&lt;clock offset='utc'/&gt;
&lt;on_poweroff&gt;destroy&lt;/on_poweroff&gt;
&lt;on_reboot&gt;restart&lt;/on_reboot&gt;
&lt;on_crash&gt;restart&lt;/on_crash&gt;
&lt;devices&gt;
&lt;emulator&gt;/usr/bin/qemu-kvm&lt;/emulator&gt;
&lt;disk type='file' device='disk'&gt;
&lt;driver name='qemu' type='raw'/&gt;
&lt;source file='/var/lib/libvirt/images/disk1.img'/&gt;
&lt;target dev='hda' bus='ide'/&gt;
&lt;alias name='ide0-0-0'/&gt;
&lt;address type='drive' controller='0' bus='0' target='0' unit='0'/&gt;
&lt;/disk&gt;
&lt;disk type='file' device='disk'&gt;
&lt;driver name='qemu' type='raw'/&gt;
&lt;source file='/var/lib/libvirt/images/disk2.img'/&gt;
&lt;target dev='sda' bus='scsi'/&gt;
&lt;alias name='scsi0-0-0'/&gt;
&lt;address type='drive' controller='0' bus='0' target='0' unit='0'/&gt;
&lt;/disk&gt;
&lt;disk type='file' device='disk'&gt;
&lt;driver name='qemu' type='raw'/&gt;
&lt;source file='/var/lib/libvirt/images/disk3.img'/&gt;
&lt;target dev='sdb' bus='scsi'/&gt;
&lt;alias name='scsi0-0-1'/&gt;
&lt;address type='drive' controller='0' bus='0' target='0' unit='1'/&gt;
&lt;/disk&gt;
&lt;disk type='file' device='disk'&gt;
&lt;driver name='qemu' type='raw'/&gt;
&lt;source file='/var/lib/libvirt/images/disk4.img'/&gt;
&lt;target dev='sdc' bus='scsi'/&gt;
&lt;alias name='scsi0-0-2'/&gt;
&lt;address type='drive' controller='0' bus='0' target='0' unit='2'/&gt;
&lt;/disk&gt;
&lt;disk type='file' device='disk'&gt;
&lt;driver name='qemu' type='raw'/&gt;
&lt;source file='/var/lib/libvirt/images/disk5.img'/&gt;
&lt;target dev='sdd' bus='scsi'/&gt;
&lt;alias name='scsi0-0-3'/&gt;
&lt;address type='drive' controller='0' bus='0' target='0' unit='3'/&gt;
&lt;/disk&gt;
&lt;controller type='usb' index='0'&gt;
&lt;alias name='usb0'/&gt;
&lt;address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/&gt;
&lt;/controller&gt;
&lt;controller type='ide' index='0'&gt;
&lt;alias name='ide0'/&gt;
&lt;address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/&gt;
&lt;/controller&gt;
&lt;controller type='scsi' index='0'&gt;
&lt;alias name='scsi0'/&gt;
&lt;address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/&gt;
&lt;/controller&gt;
&lt;interface type='network'&gt;
&lt;mac address='52:54:00:07:10:58'/&gt;
&lt;source network='default'/&gt;
&lt;target dev='vnet0'/&gt;
&lt;model type='virtio'/&gt;
&lt;alias name='net0'/&gt;
&lt;address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/&gt;
&lt;/interface&gt;
&lt;input type='mouse' bus='ps2'/&gt;
&lt;graphics type='vnc' port='5900' autoport='yes' listen='127.0.0.1'&gt;
&lt;listen type='address' address='127.0.0.1'/&gt;
&lt;/graphics&gt;
&lt;video&gt;
&lt;model type='vmvga' vram='9216' heads='1'/&gt;
&lt;alias name='video0'/&gt;
&lt;address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/&gt;
&lt;/video&gt;
&lt;memballoon model='virtio'&gt;
&lt;alias name='balloon0'/&gt;
&lt;address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/&gt;
&lt;/memballoon&gt;
&lt;/devices&gt;
&lt;seclabel type='none'/&gt;
&lt;/domain&gt;

</pre>
<h3>Credits</h3>
<p>Jim Minter &#8211; Thanks for the instructions on how to achieve this.</p>
]]></html><thumbnail_url><![CDATA[https://i1.wp.com/s2.wp.com/wp-content/themes/vip/rh-parent/img/og_shadowman.png?ssl=1&fit=440%2C330]]></thumbnail_url><thumbnail_width><![CDATA[200]]></thumbnail_width><thumbnail_height><![CDATA[200]]></thumbnail_height></oembed>