Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ksvalidator(1) [centos man page]

KSVALIDATOR(1)						      General Commands Manual						    KSVALIDATOR(1)

ksvalidator -- verify the syntax of a kickstart file SYNOPSIS
ksvalidator [-e | --firsterror] [-i | --followincludes] [-l | --listversions] [-v | --version VERSION] INFILE DESCRIPTION
ksvalidator is a program that takes an input kickstart file and attempts to verify that it is syntactically correct. This includes check- ing basics like proper quoting and making sure required options have values, and more advanced checks like verifying the file does not include deprecated or removed kickstart commands. Mutually exclusive options can also be caught, as can certain classes of partitioning errors (like using the same device name multiple times). ksvalidator does have its limitations. It cannot run validate the syntax of %pre and %post scripts, nor does it attempt to run them. It cannot check that the %packages section is valid. Most importantly, it cannot guarantee that an input kickstart file will install prop- erly, because it does not understand the complexities of partitioning and what potentially already exists on disk. EXIT STATUS
ksvalidator returns 0 on success, and 1 if INFILE does not exist or there is an error parsing the kickstart file. OPTIONS
-e, --firsterror Stop on the first warning or error. By default, ksvalidator will attempt to process the entire file, potentially raising multi- ple errors. -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 %pre script that generates an included file) and this option is given, an error will be generated and processing halted. -l, --listversions List all versions of kickstart syntax supported by ksvalidator. This is useful for determining what values can be fed back in on a second run. -v, --version VERSION Use this version of kickstart syntax when processing the file, or the latest if no version is given. SEE ALSO
ksflatten (1), ksverdiff (1) KSVALIDATOR(1)

Check Out this Related Man Page

show-installed(1)														 show-installed(1)

show-installed - show installed RPM packages and descriptions SYNOPSIS
show-installed [options] DESCRIPTION
show-installed gives a compact description of the packages installed (or given) making use of the comps groups found in the repositories. OPTIONS
-h, --help show this help message and exit -f FORMAT, --format=FORMAT yum, kickstart or human; yum gives the result as a yum command line; kickstart the content of a %packages section; "human" readable is default. -i INPUT, --input=INPUT File to read the package list from instead of using the rpmdb. - for stdin. The file must contain package names only separated by white space (including newlines). rpm -qa --qf='%{name} ' produces proper output. -o OUTPUT, --output=OUTPUT File to write the result to. Stdout is used if option is omitted. -q, --quiet Do not show warnings. -e, --no-excludes Only show groups that are installed completely. Do not use exclude lines. --global-excludes Print exclude lines at the end and not after the groups requiring them. --global-addons Print package names at the end and not after the groups offering them as addon. --addons-by-group Also show groups not selected to sort packages contained by them. Those groups are commented out with a "# " at the begin of the line. -m, --allow-mandatories Check if just installing the mandatory packages gives better results. Uses "." to mark those groups. -a, --allow-all Check if installing all packages in the groups gives better results. Uses "*" to mark those groups. --ignore-missing Ignore packages missing in the repos. --ignore-missing-excludes Do not produce exclude lines for packages not in the repository. Florian Festi 21 October 2010 show-installed(1)
Man Page

Featured Tech Videos