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
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user