add --nochroot execution in %post

This commit is contained in:
2021-08-19 11:59:29 +02:00
parent 70395410d6
commit c8b083a1d8
3 changed files with 4 additions and 4 deletions

View File

@@ -22,7 +22,7 @@ guestfs-tools # Complementary tools useful for interacting with vith guest syste
%end
%post # Beginning of %post section
%post --nochroot # Beginning of %post section. Those commands are executed outside the chroot environment
mkdir /var/lib/libvirt/iso # Create a directory to store iso images
# chown liveuser:liveuser /var/lib/libvirt/iso # Make the user "liveuser" the owner of this directory