i have seen the viruualbox manual for clonevm here http://www.virtualbox.org/manual/ch0...manage-clonevm
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.