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

@@ -8,7 +8,7 @@
# What ? This kickstart file further configures an hypervisor for AMD (tm) CPUs
# 'b' for basic building block, 'a' for amd, 'm' for minimal, 'd' for development only.
%post # Beginning of %post section
%post --nochroot # 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.