correct paths for session version

This commit is contained in:
Lukas 2022-02-13 19:04:13 +01:00
parent fb424ef12d
commit 3a7b0ccc65

View File

@ -4,25 +4,25 @@
# GPU and CPU agnostic configuration. # GPU and CPU agnostic configuration.
virt-install \ virt-install \
--connect qemu:///system \ --connect qemu:///session \
--metadata description="Spice with OpenGL. OS shipping with a minimal GNOME Shell environment. Based on Fedora Server 35" \ --metadata description="SDL with OpenGL. Minimal GNOME Shell environment. Based on Fedora Server 35" \
--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 minimal-workstation \ --name virtual-destkop-session \
--boot uefi \ --boot uefi \
--cpu host-model,topology.sockets=1,topology.cores=2,topology.threads=1 \ --cpu host-model,topology.sockets=1,topology.cores=1,topology.threads=1 \
--vcpus 2 \ --vcpus 1 \
--memory 2048 \ --memory 2048 \
--video virtio \ --video virtio \
--graphics spice,gl.enable=yes,listen=none \ --graphics sdl,gl.enable=yes \
--channel spicevmc \ --channel spicevmc \
--channel unix,target.type=virtio,target.name=org.qemu.guest_agent.0 \ --channel unix,target.type=virtio,target.name=org.qemu.guest_agent.0 \
--autoconsole none \ --autoconsole none \
--console pty,target.type=virtio \ --console pty,target.type=virtio \
--sound none \ --sound none \
--network type=default,model=virtio \ --network type=user,model=virtio \
--controller type=virtio-serial \ --controller type=virtio-serial \
--controller type=usb,model=none \ --controller type=usb,model=none \
--controller type=scsi,model=virtio-scsi \ --controller type=scsi,model=virtio-scsi \
@ -30,6 +30,6 @@ virt-install \
--input type=tablet,bus=virtio \ --input type=tablet,bus=virtio \
--memballoon none \ --memballoon none \
--rng /dev/urandom,model=virtio \ --rng /dev/urandom,model=virtio \
--disk path=/var/lib/libvirt/images/virtual-desktop.img,format=raw,bus=virtio,cache=writeback,size=10 \ --disk path=~/.local/share/libvirt/images/virtual-desktop-session.img,format=raw,bus=virtio,cache=none,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/dishes/virtual-desktop.cfg" --extra-args="inst.ks=https://raw.githubusercontent.com/PhyllomeOS/phyllomeos/main/dishes/virtual-desktop.cfg"