Skip to content

Commit

Permalink
fix: let qemu/libvirt access ISO files from users home directory when…
Browse files Browse the repository at this point in the history
… enabling virtualization
  • Loading branch information
HikariKnight committed Jan 19, 2025
1 parent f0416b2 commit 5ec3050
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ setup-virtualization ACTION="":
sudo mkdir /var/lib/swtpm-localca
fi
sudo chown tss /var/lib/swtpm-localca
echo "Giving qemu access to read ISO files from $HOME"
sudo setfacl -m u:qemu:rx $HOME
if sudo test ! -f "/etc/libvirt/hooks/qemu"; then
echo "Adding libvirt qemu hooks"
sudo wget 'https://raw.githubusercontent.com/PassthroughPOST/VFIO-Tools/master/libvirt_hooks/qemu' -O /etc/libvirt/hooks/qemu
Expand Down

0 comments on commit 5ec3050

Please sign in to comment.