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:
$ ksverdiff --from RHEL5 --to RHEL6

The following commands were removed in RHEL6:
langsupport mouse key

The following commands were deprecated in RHEL6:
monitor

The following commands were added in RHEL6:
sshpw group rescue updates fcoe
...
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
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.