Skip to content

How do you create more than one VM from the same ISO? #839

Discussion options

You must be logged in to vote

You really need a separate .conf file pointing to a separate directory for each VM (to keep the log files, pid file, port assignment records and virtual disks together and avoid getting in a mess). Just create the first/template using quickget and then make new directories and config files pointing to them with a little editing. The simple thing (to my simple mind) is to link the fetched ISO into the new directories, adjust the paths in the new config and let quickemu take care of the rest. Something like :

for clone in 1 2 3 ; do   
  mkdir ubuntu-mate-24.04-${clone} &&   \
  ln ubuntu-mate-24.04/*.iso ubuntu-mate-24.04-${clone}/ && \
  sed "s/ubuntu-mate-24.04\//ubuntu-mate-24.04-${clone}

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by nclsbayona
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
2 participants
Converted from issue

This discussion was converted from issue #619 on November 10, 2023 13:56.