2.2.2.7. pykickstart
The pykickstart package contains utilities that can be used to make migration easier. Make sure you have the latest package installed. The
ksverdiff
command takes a starting and ending syntax version, and reports differences in commands and options for the two given versions. It states the new, deprecated and removed commands and options. For example:
You can also check the validity of your Kickstart file with the
ksvalidator
command. This command checks the validity of the file against any Kickstart syntax version that you specify. However, it cannot inform you about problems that would only happen at install time, for example if you specify part --ondisk=sdr
and no such device exists. Example usage:
ksvalidator --version RHEL6 my-rhel5-ks.cfg
$ ksvalidator --version RHEL6 my-rhel5-ks.cfg