Use libvirtd.socket, not the service; add user to "libvirt" group

This commit is contained in:
2025-10-12 14:08:35 -04:00
parent fc0dbbe036
commit 688fcaa994
+2 -3
View File
@@ -57,9 +57,8 @@ func applications() {
fallthrough fallthrough
case 7: case 7:
managePackages("-S", []string{"virt-manager", "qemu-desktop", "libvirt"}) managePackages("-S", []string{"virt-manager", "qemu-desktop", "libvirt"})
manageService("enable", "libvirtd.service") manageService("enable", "libvirtd.socket")
manageService("start", "libvirtd.service") chrootCommandRun([]string{"usermod", "-aG", "libvirt", getUsername()})
// TODO manage user groups!
if !doAll { if !doAll {
break break