[rhelv6-beta-list] Kickstart help

David Cantrell dcantrell at redhat.com
Fri Apr 23 15:28:50 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 23 Apr 2010, Paul Seymour wrote:

> Hello,
>
> Previously on RHEL5 we used the following lines from PXE:-
>
> APPEND initrd=kernels/initrd nostorage ks=http://xxxxx/ks-<ver>.cfg
>
> The “nostorage” entry is used to disable lpfc type drivers to ensure we
> don’t build onto any configured SAN type storage.
>
> We then have the following in the ks.cfg command
>
> device scsi cciss:mptbase:mptscsih:mptspi
>
> Which we use to enable building on HP/VM boxes.
>
> This is throwing up a “A module name must be specified for the kictstart
> device command” message.
>
> Any way of doing this in RH6 ?

Try the following syntax for the device command:

     device cciss
     device mptbase
     device mptscsih
     device mptspi

That is, drop the 'scsi' keyword and use a separate device line for each
module.  Here is a reference to the device command syntax as processed in
kickstart for RHEL-6:

     http://fedoraproject.org/wiki/Anaconda/Kickstart#device

Also, if you have the pykickstart package installed, it installs a program
called /usr/bin/ksvalidator that will validate the syntax of a kickstart file
against a specific version of the kickstart backend.  For example:

     ksvalidator -v RHEL6 ks.cfg

Will validate ks.cfg using the RHEL6 kickstart parser.

- -- 
David Cantrell <dcantrell at redhat.com>
Red Hat / Honolulu, HI

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkvRvLMACgkQ5hsjjIy1VkkH6ACfabxUBkdpMnGJW8h77y7wPfI9
E2cAoO7zt2ph5WUeCk1Lx6GHDMw4jLxr
=qODc
-----END PGP SIGNATURE-----


More information about the rhelv6-beta-list mailing list