create lots of vm's with cli

Discussions related to using VirtualBox on Windows hosts.
Post Reply
mnakind86
Posts: 1
Joined: 7. Sep 2020, 03:32

create lots of vm's with cli

Post 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.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: create lots of vm's with cli

Post 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.
Post Reply