Add libvirt-qemu user in package libvirt

Lack of such user causes the service to fail as it strictly looks
for this username.
This commit is contained in:
Bahar KURT
2025-09-05 13:51:37 +03:00
parent 6de0c68350
commit 589c8d9b23
2 changed files with 8 additions and 0 deletions
@@ -39,3 +39,4 @@ def postInstall(fromVersion, fromRelease, toVersion, toRelease):
os.system("groupadd libvirt")
#os.system("usermod -G libvirt %s" % os.getusername())
os.system("usermod -G libvirt %s" % getpass.getuser())
os.system("useradd -MG libvirt libvirt-qemu")