forked from roots/phyllomeos
add logging in post section
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user