3.0

Table Of Contents
VMware, Inc. 73
Appendix A Appendix: Migration with p2vTool Command-Line Interface
Example A-7. Reconfiguring a Hosted Source
<?xml version="1.0" encoding="UTF-8" ?>
<p2v version="1.0" xmlns="http://www.vmware.com/v2/sysimage/p2v"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.vmware.com/v2/sysimage/p2v p2v.xsd">
<source>
<!-- the "password" attribute is only used for encrypted sources such as Symantec's SV2I
format and can be omitted for other types of sources -->
<hostedSpec path="d:\My Virtual Machines\a-virtual-machine\a-virtual-machine.vmx"
password="" />
</source>
<postProcessingParams>
<reconfigParams />
</postProcessingParams>
</p2v>
Example A-8. Reconfiguring a Managed Source
<?xml version="1.0" encoding="UTF-8" ?>
<p2v version="1.0" xmlns="http://www.vmware.com/v2/sysimage/p2v"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.vmware.com/v2/sysimage/p2v p2v.xsd">
<source>
<managedSpec vmId="my-vm">
<!-- username and password may be omitted, in which case you will be interactively
prompted for credentials -->
<creds host="vc-server" username="Administrator" password="adminPassword" />
</managedSpec>
</source>
<postProcessingParams>
<reconfigParams />
</postProcessingParams>
</p2v>