fix: set up techstream as root

This commit is contained in:
Martin Kennedy 2024-09-29 19:43:17 -04:00
parent f5c1796016
commit 6b8a809e71

View File

@ -15,21 +15,13 @@ sudo dnf install -y virtio-win virt-v2v virt-manager
sudo systemctl restart libvirtd
# https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/6/html/virtualization_administration_guide/sect-virtualization-storage_pools-creating-local_directories-virsh#sect-Virtualization-Storage_Pools-Creating-Local_Directories-virsh
## Create the libvirt storage pool
virsh pool-list --all
virsh pool-define-as ts-vm-pool dir - - - - "$PWD/ts-vm-pool"
virsh pool-build --pool ts-vm-pool
virsh pool-start --pool ts-vm-pool
virsh pool-autostart --pool ts-vm-pool
## The 'non-root' virsh
virt-v2v -i ova /home/mkennedy/Downloads/TechStream_12.20.024-v2.ova -o libvirt -of qcow2 -os ts-vm-pool -n default
# Then, as root / with sudo, create the VM in the default pool
sudo virt-v2v -i ova /home/mkennedy/Downloads/TechStream_12.20.024-v2.ova -o libvirt -of qcow2 -os default -n default
```
Then, in Virtual Machine Manager, File > Add Connection ... > QEMU/KVM User session.
You will see your TechStream install. Double-click to open, then edit Details and remove
1) the virtual NIC (which won't be accessible unless you're root).
1) the virtual NIC (which won't be accessible).
2) the graphical tablet (which will blackhole your mouse inputs once it connects to the VM).