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

@@ -22,7 +22,7 @@ guestfs-tools # Complementary tools useful for interacting with vith guest syste
%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
mkdir /var/lib/libvirt/iso # Create a directory to store iso images
virsh pool-create-as --name iso --type dir --target /var/lib/libvirt/iso # Make libvirt aware of this new directory by creating a so-called 'pool'