Page 1 of 1

create lots of vm's with cli

Posted: 10. Sep 2020, 10:42
by mnakind86
Hi,

i want to create 100 vm's with OS Ubuntu Server on a windows machine.
i dont want to use the gui and manually install 100 times Ubuntu Server.
Is there a fast way to do it.
I have tried to clone an existing Ubuntu VM a couple of times but the cloned vm's get the same /etc/machine-id and have the same ip addresses. To avoid that i could change on every clone the /etc/machine-id with dbus-uuidgen and set manually a unique ip address. But i dont think this is the right way to do it properly.

Re: create lots of vm's with cli

Posted: 11. Sep 2020, 17:43
by scottgus1
Making even one guest with the command line is a challenge, though it can be done. We have no forum tutorials for it that I know.

You will need to study the Virtualbox manual for the needed commands. Section 3.2 Unattended Guest Installation, might be a good starting place.