add gpu passthrough notes to driveripper
This commit is contained in:
@@ -102,7 +102,6 @@ qemu-img convert -f qcow2 -O raw \
|
|||||||
|
|
||||||
# Install (Change password for default user ducoterra!)
|
# Install (Change password for default user ducoterra!)
|
||||||
virt-install \
|
virt-install \
|
||||||
--name "gitlab" \
|
|
||||||
--boot uefi,firmware.feature0.name=secure-boot,firmware.feature0.enabled=no \
|
--boot uefi,firmware.feature0.name=secure-boot,firmware.feature0.enabled=no \
|
||||||
--cpu host-passthrough --vcpus sockets=1,cores=8,threads=2 \
|
--cpu host-passthrough --vcpus sockets=1,cores=8,threads=2 \
|
||||||
--ram=8192 \
|
--ram=8192 \
|
||||||
@@ -110,7 +109,12 @@ virt-install \
|
|||||||
--network bridge:bridge0 \
|
--network bridge:bridge0 \
|
||||||
--graphics none \
|
--graphics none \
|
||||||
--console pty,target.type=virtio \
|
--console pty,target.type=virtio \
|
||||||
--import --disk "path=/srv/vm/pool1/fedora-boot.raw,bus=virtio"
|
--name "fedora" \
|
||||||
|
--import --disk "path=/srv/vm/pool1/fedora-boot.raw,bus=virtio" \
|
||||||
|
|
||||||
|
# If you need to pass through a PCIe card
|
||||||
|
--hostdev pci_0000_4e_00_0 \
|
||||||
|
--hostdev pci_0000_4e_00_1
|
||||||
|
|
||||||
# convert a cloud-init image to raw
|
# convert a cloud-init image to raw
|
||||||
qemu-img convert -f qcow2 -O raw \
|
qemu-img convert -f qcow2 -O raw \
|
||||||
|
|||||||
Reference in New Issue
Block a user