VMware Cloud Community
sajuptpm
Contributor
Contributor

ovftool: How to override disk naming of ovftool

Hi,

Suppose I have a VM "vm1" with 3 disks "[datastore2] k1/k1.vmdk",   "[datastore2] k1/k1new.vmdk"  and "[datastore2] k1/k1up.vmdk".

I can't identify the correct disk, If I import this VM to my local system using "ovftool".

Output of "ovftool" command : ovftool vi://root:vmware123@192.168.1.26?moref=vim.VirtualMachine:109 .

k1-disk1.vmdk

k1-disk2.vmdk

k1-disk3.vmdk

k1.mf

k1.ovf

See, "ovftool" renamed the disks to "k1-disk1.vmdk", "k1-disk2.vmdk" and "k1-disk1.vmdk".

Have any way to keep the name of the disk ??

Have any way to specify the name for the disk in the "ovftool"  ???

Thanks,

0 Kudos
0 Replies