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
case 7:
managePackages("-S", []string{"virt-manager", "qemu-desktop", "libvirt"})
manageService("enable", "libvirtd.service")
manageService("start", "libvirtd.service")
// TODO manage user groups!
manageService("enable", "libvirtd.socket")
chrootCommandRun([]string{"usermod", "-aG", "libvirt", getUsername()})
if !doAll {
break