Create virtual machines from the command line

install the first one with

Then clone them

Notes:
check some values for the params for virt-install

  • virt-type: virsh capabilities
  • virt-install –os-variant list
  • download image: http://ubuntu.osuosl.org/releases/15.10/ubuntu-15.10-server-i386.iso

If you don’t want to answer questions during the install here is more reading

Preseed

  • https://gist.github.com/smoser/1057704
  • http://blog.dustinkirkland.com/2011/03/ubuntu-server-quick-install-no.html
  • https://help.ubuntu.com/lts/installation-guide/i386/ch04s06.html

Docker stuff

  • https://github.com/dave-tucker/docker-network-demos/blob/master/multihost-local.sh
  • https://docs.docker.com/machine/