Use --memory instead of deprecated --ram

This commit is contained in:
Anthony Rose 2022-09-30 12:03:20 +01:00
parent 54d54a77c5
commit e4ae46029c

View file

@ -33,7 +33,7 @@ Creating the VM
The disk will be created in the default location, which is normally The disk will be created in the default location, which is normally
/var/lib/libvirt/images. To change this, add "path=/path/file.qcow2" /var/lib/libvirt/images. To change this, add "path=/path/file.qcow2"
to the "--disk" option. Specify the size by adding "size=20" for a to the "--disk" option. Specify the size by adding "size=20" for a
20 GB disk. 20 GB disk.
Tips Tips
@ -41,8 +41,8 @@ Tips
For a virtio network card on Windows machines, add "model=virtio" to For a virtio network card on Windows machines, add "model=virtio" to
the --network option. the --network option.
Other useful options are "--ram 4096" for 4 GB RAM, and "--vcpus 2" Other useful options are "--memory 4096" for 4 GB RAM, and
for a dual-CPU guest. "--vcpus 2" for a dual-CPU guest.
A list of supported operating systems can be found by running: A list of supported operating systems can be found by running: