libvirt: rebuild

This commit is contained in:
suvari
2022-08-07 21:01:30 +03:00
parent be48db0dfc
commit ecfe405de8
2 changed files with 11 additions and 1 deletions
@@ -1,6 +1,7 @@
#/usr/bin/python
import os
import getpass
permissions = {
"/etc/libvirt" : ["0700", "root:root"],
@@ -36,4 +37,5 @@ def postInstall(fromVersion, fromRelease, toVersion, toRelease):
os.system("/bin/chown -R %s %s" % (perms[1], _file))
os.system("/bin/chmod %s %s" % (perms[0], _file))
os.system("groupadd libvirt")
os.system("usermod -G libvirt %s" % os.getusername())
#os.system("usermod -G libvirt %s" % os.getusername())
os.system("usermod -G libvirt %s" % getpass.getuser())