add logging in post section

This commit is contained in:
2021-08-19 20:31:42 +02:00
parent 1762cd6e6b
commit 682dd7b8e9
12 changed files with 13 additions and 13 deletions

View File

@ -32,7 +32,7 @@ virt-manager # Install virt-manager, the graphical front-end for QEMU/KVM
%end # End of the packages section
%post --nochroot # Beginning of %post section. Those commands are executed outside the chroot environment
%post --nochroot --log=/mnt/sysimage/root/ks-post.log # Beginning of %post section. Those commands are executed outside the chroot environment. Add logging.
usermod -a -G libvirt liveuser # Make user "liveuser" part of the existing libvirt group to allow it to interact with the guest-hypervisor.
chown liveuser:liveuser /var/lib/libvirt/iso # Make the user "liveuser" the owner of this directory