Chapter 9. Maintaining Kickstart files
You can run automated checks on Kickstart files. Typically, you will want to verify that a new or problematic Kickstart file is valid.
9.1. Installing Kickstart maintenance tools
To use the Kickstart maintenance tools, you must install the package that contains them.
Install the pykickstart package:
# dnf install pykickstart
9.2. Verifying a Kickstart file
ksvalidator command line utility to verify that your Kickstart file is valid. This is useful when you make extensive changes to a Kickstart file. Use the
-v RHEL8 option in the
ksvalidator command to acknowledge new commands of the RHEL8 class.
ksvalidatoron your Kickstart file:
$ ksvalidator -v RHEL8 /path/to/kickstart.ks
Replace /path/to/kickstart.ks with the path to the Kickstart file you want to verify.
The validation tool cannot guarantee the installation will be successful. It ensures only that the syntax is correct and that the file does not include deprecated options. It does not attempt to validate the
%packages sections of the Kickstart file.
- The ksvalidator(1) man page