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

@@ -8,7 +8,7 @@
# What ? This kickstart file configures an hypervisor for AMD (tm) CPUs
# 'b' for basic building block, 'a' for amd, 'm' for minimal, 'd' for development only.
%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
sed -i 's/\(quiet\)/\1 amd_iommu=on amd_iommu=pt rd.driver.pre=vfio-pci/i' /etc/default/grub # Load kernel modules in grub.