mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-11-20 17:32:15 +00:00
944ac3f6e9
pre.rhels8 and pre.rhels10 print /tmp/partitionfile into the pre-install log, so that the partition scheme can be inspected after the installation. A custom partitionfile can hold credentials, such as the --passphrase of an encrypted partition or a boot loader --password, and the log then holds them in clear text. With site.xcatdebugmode 1 or 2, %pre also traces the decoding of a custom partitionfile or partition script, and the trace spells out every decoded byte. The pre-install log now shows the partition scheme only when xCAT generated it, and says that a custom partition file is not logged. The decoding of a custom partitionfile or partition script runs untraced. /tmp/partitionfile, which anaconda reads, is unchanged.