mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-11-21 01:42:15 +00:00
b45dc1e85f
The EL8 and later kickstart templates append /tmp/pre-install.log to /var/log/xcat/xcat.log in the chroot %post. Anaconda runs that block in the installed system, whose /tmp does not hold the installer's log, so the %pre output, such as the install disk and the partition layout, never reaches the node's xcat.log. Copy the log in a %post --nochroot block before the main %post, from the installer's /tmp to the installed system at /mnt/sysimage. The EL6 and EL7 templates use %include for this and are unchanged.