KSVALIDATOR(1)
๐ KSVALIDATOR(1) ๐
okay bestie, gather round โ this is the General Commands Manual page for ksvalidator, and I'm about to make it make sense. ๐
โจ NAME โจ
ksvalidator โ verify the syntax of a kickstart file ๐ฆ
๐ธ SYNOPSIS ๐ธ
ksvalidator [-e | --firsterror] [-i | --followincludes] [-l |
--listversions] [-v | --version VERSION] INFILE [INFILE...]
yes queen, you can throw multiple INFILEs at it at once, she can handle it ๐
๐ DESCRIPTION ๐
So like, ksvalidator is a program that takes an input kickstart file and attempts to verify that it's syntactically correct. attempts!! She's doing her best. ๐ซถ
What does "syntactically correct" even cover? Bestie, let me tell you:
- the basics, like proper quoting and making sure required options actually have values โจ
- the more advanced stuff, like verifying the file doesn't include deprecated or removed kickstart commands ๐
- mutually exclusive options โ caught ๐ฏ
- certain classes of partitioning errors, like using the same device name multiple times ๐
now the part where I keep it real with you: ksvalidator does have its limitations, fr fr.
- It cannot run validate the syntax of
%pre,%pre-install, and%postscripts, nor does it attempt to run them ๐ - It cannot check that the
%packagessection is valid ๐ญ - Most importantly: it cannot guarantee that an input kickstart file will install properly, because it does not understand the complexities of partitioning and what potentially already exists on disk. like, at all.
read that last bullet twice, babe. passing ksvalidator is not a promise your install goes off without a hitch. She's a syntax girlie, not a psychic. ๐ฎ
โญ EXIT STATUS โญ
ksvalidator returns 0 on success, and a value equal to the amount of errors if some INFILEs do not exist or there are errors parsing the kickstart files.
so like, 0 = slay, and any other number = that many problems. the math is mathing ๐
๐ OPTIONS ๐
-e,--firsterrorโ Stop on the first warning or error. By default,ksvalidatorwill attempt to process the entire file, potentially raising multiple errors. so this one's for the girlies who can't handle the whole list of their mistakes at once ๐ญ-i,--followincludesโ Process included files in the input file when they are seen, like anaconda would. If the included file does not exist (this can happen for a variety of reasons, but the most common being a%prescript that generates an included file) and this option is given, an error will be generated and processing halted. halted!! ๐-l,--listversionsโ List all versions of kickstart syntax supported byksvalidator. This is useful for determining what values can be fed back in on a second run. literally a little menu of vibes you can pick from later ๐-v,--version VERSIONโ Use this version of kickstart syntax when processing the file, or the latest if no version is given. no version? she just assumes latest, main character energy ๐
๐ฆ SEE ALSO ๐ฆ
ksflatten (1), ksshell (1), ksverdiff (1)
the whole friend group!! go say hi ๐
and that's the page, bestie ๐ โ this one's from the General Commands Manual, footer and all reading KSVALIDATOR(1). mwah, go validate something ๐
๐ฆ where this page comes from
- centos-stream 10: pykickstart 3.52.13-1.el10 ยท GPL-2.0-only
- fedora 43: pykickstart 3.66-5.fc43 ยท GPL-2.0-only
- fedora 44: pykickstart 3.69-1.fc44 ยท GPL-2.0-only
- nixos 26.05: pykickstart 3.73
- nixpkgs unstable: pykickstart 3.78
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms