Language and Page Formatting Options
3.3.5. Converting a VMware ESX / ESX(i) virtual machine
When converting a Windows virtual machine from VMware ESX / ESX(i), ensure that VMware Tools is not installed on the virtual machine. The VMware Tools must be uninstalled prior to the conversion process. If a virtual machine is converted with the VMware Tools installed, it will not function correctly.
Ensure that the virtual machine is stopped prior to running the v2v process.
To convert the virtual machine, run:
virt-v2v -ic esx://esx.example.com/ -op pool --bridge bridge_name guest_name
esx.example.comis the VMware ESX / ESX(i) server,
poolis the local storage pool to hold the image,
bridge_nameis the name of a local network bridge to connect the converted virtual machine's network to, and
guest_nameis the name of the virtual machine.
You may also use the
--networkparameter to connect to a locally managed network if your virtual machine only has a single network interface. If your virtual machine has multiple network interfaces, edit
/etc/virt-v2v.confto specify the network mapping for all interfaces.
126.96.36.199. Authenticating to the ESX / ESX(i) server
Connecting to the ESX / ESX(i) server will require authentication.
virt-v2vsupports password authentication when connecting to ESX / ESX(i). It reads passwords from
$HOME/.netrc. The format of this file is described in the
netrc(5)man page. An example entry is:
machine esx.example.com login root password s3cr3t
.netrcfile must have a permission mask of 0600 to be read correctly by