ksvalidator man page on RedHat

Man page or keyword search:  
man Server   29550 pages
apropos Keyword Search (all sections)
Output format
RedHat logo
[printable version]

KSVALIDATOR(1)							KSVALIDATOR(1)

NAME
       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
       checking 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 syn‐
       tax  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 properly,
       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
		 multiple 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  com‐
		 mon  being a %pre script that generates an included file) and
		 this option is given, an error will be generated and process‐
		 ing halted.

       -l, --listversions
		 List  all versions of kickstart syntax supported by ksvalida‐
		 tor.  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)
[top]

List of man pages available for RedHat

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net