*vim ~/.netrc
default login root password Password1

*virt-v2v -ic esx://esx.server/ -o rhev -os rhev.nfs.storage:/export_domain --network rhevm esx_guest

 


Very vague at the moment.. I'll get a better document going soon



------------------
Contents of "/etc/virt-v2v.conf" (You'll want to edit this and set up profile mappings specific to your environment)

<!--
This file is for user additions and modifications to the default virt-v2v
configuration data in /var/lib/virt-v2v/virt-v2v.db.
-->

<virt-v2v>
<!-- Target profiles -->
<!--
<profile name="rhev-sparse">
<method>rhev</method>
<storage format='qcow2' allocation='sparse'>
5.5.5.100:/zfspool/export
</storage>
<network type="default">
<network type="network" name="rhevm"/>
</network>
</profile>

<profile name="rhev-preallocated">
<method>rhev</method>
<storage format='raw' allocation='preallocated'>
5.5.5.100:/zfspool/export
</storage>
<network type="default">
<network type="network" name="rhevm"/>
</network>
</profile>

<profile name="libvirt">
<method>libvirt</method>
<storage>default</storage>
<network type="default">
<network type="network" name="default"/>
</network>
</profile>
-->

<!-- Custom packages to be installed during linux conversions -->
<!--
<capability os='linux' distro='rhel' major='6' name='user-install'>
<dep name='mypackage'/>
</capability>
-->

<!-- Networks -->
<!-- Mappings for the defaults in Xen, ESX and libvirt/KVM
to the default in libvirt/KVM -->
<!--
<network type='bridge' name='xenbr1'>
<network type='network' name='default'/>
</network>

<network type='bridge' name='VM Network'>
<network type='network' name='default'/>
</network>

<network type='bridge' name='5.5.5.x'>
<network type='network' name='default'/>
</network>

<network type='network' name='default'>
<network type='network' name='default'/>
</network>
-->

<!-- If importing to RHEV, you may want to use the default network name
'rhevm' instead -->
<!--
<network type='bridge' name='xenbr1'>
<network type='network' name='rhevm'/>
</network>

<network type='bridge' name='VM Network'>
<network type='network' name='rhevm'/>
</network>

<network type='bridge' name='5.5.5.x'>
<network type='network' name='rhevm'/>
</network>

<network type='bridge' name='5.5.5.x'>
<network type='network' name='rhevm'/>
</network>

<network type='network' name='default'>
<network type='network' name='rhevm'/>
</network>
-->
<app os='windows' major='5' minor='1' arch='i386' name='virtio'>
<path>/usr/share/virtio-win/drivers/i386/WinXP</path>
</app>
<app os='windows' major='5' minor='1' arch='x86_64' name='virtio'>
<path>/usr/share/virtio-win/drivers/amd64/WinXP</path>
</app>

<app os='windows' major='5' minor='2' arch='i386' name='virtio'>
<path>/usr/share/virtio-win/drivers/i386/Win2003</path>
</app>
<app os='windows' major='5' minor='2' arch='x86_64' name='virtio'>
<path>/usr/share/virtio-win/drivers/amd64/Win2003</path>
</app>

<!-- This is a script, so arch-independent -->
<app os='windows' name='firstboot'>
<path>/var/lib/virt-v2v/software/windows/firstboot.bat</path>
</app>
<app os='windows' name='firstbootapp'>
<path>/var/lib/virt-v2v/software/windows/rhev-apt.exe</path>
</app>
<app os='windows' name='rhsrvany'>
<path>/var/lib/virt-v2v/software/windows/rhsrvany.exe</path>
</app>

<profile name="myrhev">
<method>libvirt</method>
<storage format="qcow2" allowcation="sparse">
nfsrhevm
</storage>
<network type="default">
<network type="network" name="default"/>
</network>
</profile>
</virt-v2v>