docs: update gofurther/virt-install

This commit is contained in:
lukas 2021-11-26 20:23:37 +00:00
parent faa8a2b189
commit 8323115897

View File

@ -2,7 +2,7 @@
title: Linux family title: Linux family
description: description:
published: true published: true
date: 2021-11-26T19:51:06.779Z date: 2021-11-26T20:23:34.560Z
tags: tags:
editor: markdown editor: markdown
dateCreated: 2021-11-12T15:27:40.366Z dateCreated: 2021-11-12T15:27:40.366Z
@ -152,16 +152,15 @@ $ virt-install \
``` ```
virt-install \ virt-install \
--connect qemu:///session \ --connect qemu:///session \
--metadata description="Works with all GPUs on the host including Nvidia and does expect an EFI-based Linux guest" \
--os-variant detect=off \ --os-variant detect=off \
--virt-type kvm \ --virt-type kvm \
--arch x86_64 \ --arch x86_64 \
--machine q35 \ --machine q35 \
--name linux-egl-headless-gl \ --name virtual-desktop \
--boot uefi \ --boot uefi \
--cpu host-model,topology.sockets=1,topology.cores=1,topology.threads=1 \ --cpu host-model,topology.sockets=1,topology.cores=1,topology.threads=1 \
--vcpus 1 \ --vcpus 2 \
--memory 2048 \ --memory 4096 \
--video virtio \ --video virtio \
--graphics spice,listen=none \ --graphics spice,listen=none \
--graphics egl-headless,gl.enable=yes \ --graphics egl-headless,gl.enable=yes \
@ -177,9 +176,9 @@ virt-install \
--input type=keyboard,bus=virtio \ --input type=keyboard,bus=virtio \
--input type=tablet,bus=virtio \ --input type=tablet,bus=virtio \
--rng /dev/urandom,model=virtio \ --rng /dev/urandom,model=virtio \
--disk path=/var/lib/libvirt/images/phyllome-desktop.img,format=raw,bus=virtio,cache=writeback,size=5 \ --disk path=/var/lib/libvirt/images/phyllome-desktop.img,format=raw,bus=virtio,cache=writeback,size=10 \
--location=https://download.fedoraproject.org/pub/fedora/linux/releases/35/Everything/x86_64/os/ \ --location=https://download.fedoraproject.org/pub/fedora/linux/releases/35/Everything/x86_64/os/ \
--extra-args="inst.ks=https://raw.githubusercontent.com/PhyllomeOS/phyllomeos/main/leaves/phyllome-desktop.cfg" --extra-args="inst.ks=https://raw.githubusercontent.com/PhyllomeOS/phyllomeos/main/leaves/virtual-desktop.cfg"
``` ```
### Local deployment without installation ### Local deployment without installation