Sv translation | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||
Enable Outgoing SSH connectionsThis is for example necessary, to use SCP between two ESXi Servers.
Cloning a VM from the Command LineOn ESXi Free, there is no possibility to clone a virtual machine from the GUI. This details how to clone a virtual machine from the command line.
|
Sv translation | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||
Enable Outgoing SSH connectionsThis is for example necessary, to use SCP between two ESXi Servers.
Cloning a VM from the Command LineOn ESXi Free, there is no possibility to clone a virtual machine from the GUI. This details how to clone a virtual machine from the command line. Start the VMWare Client. Select the ESXi Host. Select the Configuration Tab, then Security Profile. In Services select "Properties". cd into the datastore For example: Translations Ignore |
Create a new directory for the clone: Translations Ignore |
cd into the clone directory Translations Ignore |
Locate the vmdk file for the current version of the disk to clone in the original VM directory. For example, for the first snapshot of the disk, the disk name will be disk-name-000001.vmdk Clone the disk using the following command Translations Ignore |
Copy the other VM files into the directory. Edit the VM file if necessary, and change the name of the mounted disk to the newly cloned disk. For example change this line: scsi0:0.fileName = "disk-name-000001.vmdk" To this: scsi0:0.fileName = "disk-name.vmdk" That's it. The new VM is ready to use or to be copied somewhere else. |