create lots of vm's with cli
Posted: 10. Sep 2020, 10:42
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.
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.