tldr/pages/common/virt-install.md
Adam Herst 4c059df5a6
virt-install: add --name option to example (#5799)
Running the existing example (on Ubuntu 20.04) gives the error message:

ERROR    
--name is required
2021-04-21 08:52:40 -04:00

356 B

virt-install

Create virtual machines with libvirt and begin OS installation. More information: https://virt-manager.org/.

  • Create a virtual machine with 1 GiB RAM and 12 GiB storage and start Debian installation:

virt-install --name {{vm_name}} --memory {{1024}} --disk path={{path/to/image.qcow2}},size={{12}} --cdrom {{path/to/debian.iso}}