3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-25 05:19:29 +01:00

doc/VirtualMachine.md: remove io=native from disk to speed up snapshots

This commit is contained in:
Pragmatic Software 2022-02-08 12:16:09 -08:00
parent 1c010fe223
commit 5fc4b9a6dd

View File

@ -86,7 +86,7 @@ To create a new virtual machine we'll use the `virt-install` command.
Execute the following command:
host$ virt-install --name=pbot-vm --disk=size=12,driver.io=native,path=vm.qcow2 --cpu=host --os-variant=fedora34 --graphics=spice --video=virtio --location=Fedora-Server-netinst-x86_64-35-1.2.iso
host$ virt-install --name=pbot-vm --disk=size=12,path=vm.qcow2 --cpu=host --os-variant=fedora34 --graphics=spice --video=virtio --location=Fedora-Server-netinst-x86_64-35-1.2.iso
Note that `disk=size=12` will create a 12 GB sparse file. Sparse means the file
won't actually take up 12 GB. It will start at 0 bytes and grow as needed. You can