Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.


  Search this Thread
Old 05-28-2013, 08:41 PM   #1
Registered: Aug 2012
Location: earth
Distribution: Mint Xfce, Korora Gnome3, Ubuntu Server NoGui,
Posts: 136

Rep: Reputation: 1
Question VBoxManage clonevm ?'s

i have seen the viruualbox manual for clonevm here

unfortunately i can't really find any samples that meet my needs and the method i tried fails. i am trying to clone a vm called "student1" to a new vm called "student2", but also give the clone a unique uuid and register it all in one command. here is what i tried that gives me an error(no other info just "error", and shows the help screen).

VBoxManage clonevm student1 --name student2 --uuid --register

**it says the default behavior of --uuid is to assigne a new uuid so i gave it no arguments(also tried the word default).

also i really need 30 clones. is it possible, once i find out how to do the above, to pass multiple arguments to --name to do this all at once, and give them each unique uuid's. example:

VBoxManage clonevm student1 --name student2 student3 student4 --uuid --register

my intention is to have 30 vm's each for a different student who can ssh in to their own vm. i know after the cloning i will need to change the NAT port forwarding rules for each clone. example.

VBoxManage modifyvm student2 --natpf1 "guestssh,tcp,,60002,,22"
VBoxManage modifyvm student2 --natpf1 "guestssh,tcp,,60003,,22"

**can they all still listen on port 3389 for vrde. i am not going to remote in using rdp so i figure that doesn't really matter. is that a correct assumption

lastly there is no dhcp on the host or host gateway so when i set up the oiginal vm that will be cloned to create the others should the default gateway be the host or the host's default gateway. the reason i ask is if i give the host as the default gateway for a vm using NAT i was hoping vbox will use dhcp to give them all unique ip's so i don't have to edit /etc/networking/interfaces in all 30 vm's

i know this was alot of questions for one thread but they are all closely related and pertain to getting this one task done. i hope that is ok.

Last edited by minty33; 05-28-2013 at 08:43 PM.
Old 07-01-2013, 08:50 PM   #2
Registered: Aug 2012
Location: earth
Distribution: Mint Xfce, Korora Gnome3, Ubuntu Server NoGui,
Posts: 136

Original Poster
Rep: Reputation: 1
i was reviewing my threads and this should be marked solved so i will do so. the answer is to leave out the --uuid flag


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Cannot create VirtualBox hd image - VBoxManage: error: Failed to create hard disk Vanyel Linux - Software 1 01-10-2013 09:06 AM
[SOLVED] VirtualBox VBoxManage clonevdi works to local drive but not external jraz Linux - Virtualization and Cloud 5 02-24-2011 04:17 AM
Oracle vmbox no VBoxManage on host windows 7 sehgalnamit Linux - Virtualization and Cloud 1 02-18-2011 07:58 PM
can't find vboxmanage for VirtualBox ahurd Linux - Newbie 4 07-22-2010 10:42 PM
LXer: Tech Tip: Port Forwarding in Virtualbox with VBoxManage LXer Syndicated Linux News 0 09-10-2009 11:20 PM > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 04:42 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration