How to clone a vbox virtual machine

If running, stop the virtual machine:

$ vboxmanage controlvm <vmname> poweroff

then clone it:

$ vboxmanage clonevm <vmname> –name <new_vmname> –register

When you start the new vm, remember to change the IP address, because it is the same (cloned) from the original vm.

Other useful commands:

$ vboxmanage list vms

$ vboxmanage list runningvms

$ vboxmanage showvm <vmname>
$ vboxmanage showvminfo <vmname>
$ vboxmanage modifyvm <vmname> –memory 2048
$ vboxmanage startvm <vmname> –type headless

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s