VMware Cloud Community
resteves
Enthusiast
Enthusiast

vSphere CLI 5.5 - Clone VM

Hi,

Does anyone knows if it's possible to clone a VM using cmd line tools?

I know that it's possible to clone a disk, but what i need is the entire process of cloning the VM.

Tags (1)
0 Kudos
1 Reply
fsckit
Enthusiast
Enthusiast

I have not tried this, but check it out:

# perldoc /usr/lib/vmware-vcli/apps/vm/vmclone.pl

NAME        vmclone.pl - Perform clone operation on virtual machine and  customize operation on both virtual machine and the guest.

SYNOPSIS         vmclone.pl [options]

DESCRIPTION        VI Perl command-line utility allows you to clone a virtual machine. You can customize the virtual machine or the guest operating system as part of the clone operation.

. . .

This is installed on the vMA.

0 Kudos