mirror of
https://github.com/rwinkhart/cachyos-postinstall-helper.git
synced 2026-08-27 20:36:32 -04:00
Use libvirtd.socket, not the service; add user to "libvirt" group
This commit is contained in:
+2
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user