Feature: Make it possible to prevent installation logs and input/output kickstart from being stored on the installed system (this includes image installation).
Reason: In some cases (and especially during image installations) it make sense to not save installation logs and kickstarts to the installed system - mostly due to internal URLs and possibly other sensitive information they might contain.
Unfortunately the kickstart %post scripts run *before* the logs and kickstarts are copied to the system, so some other way of getting rid of them was needed.
Result: The inst.nosave boot & --nosave command line option has been added, which makes it possible to prevent logs & kickstarts from reached the installed system.
The nosave option takes the following keywords:
input_ks - Disables saving of the input kickstart (if any).
output_ks - Disables saving of the output kickstart generated by Anaconda.
all_ks -Disables saving of both input and output kickstarts.
logs - Disables saving of all installation logs.
all - Disables saving of all kickstarts and all logs.
At least one keyword is expected and multiple keywords can be provided, delimited by a ",", for example: