virt-install --name web01 --memory 2048 --vcpus 2 --disk size=20 --cdrom image.iso

Category: VPS Management

virt-install --name web01 --memory 2048 --vcpus 2 --disk size=20 --cdrom image.iso

Create a VM with virt-install

Use `virt-install --name web01 --memory 2048 --vcpus 2 --disk size=20 --cdrom image.iso` to create a VM with virt-install. Helpful when you need this quickly on a Linux server.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.