Patrick Devine > SysConfig > SysConfig::Kickstart

Download:
SysConfig-0.2.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.2   Source  

NAME ^

Kickstart - generate RedHat Kickstart files.

DESCRIPTION ^

Kickstart uses the SysConfig.pm module to allow a perl script to make method calls which generate a RedHat Kickstart file.

auth { KEY => VALUE, ... }
auth

The auth method allows for the configuration of various authentication parameters such as MD5 and Shadow passwords, and NIS, LDAP, Kerberos and Hesiod configuration.

    enablemd5           use md5 password encryption
    enablenis           enable NIS support
    nisdomain           specify a domain name for NIS
    nisserver           specify a server to use with NIS
    useshadow           use shadow passwords
    enableldap          enable LDAP user authentication
    ldapserver          specify an LDAP server
    ldapbasedn          specify the base LDAP domain name
    enablekrb5          enable Kerberos 5 authentication
    krb5realm           specify the Kerberos realm
    krb5kdc             specify a list of KDC values
    krb5adminserver     specify the master KDC
    enablehesiod        enable Hesiod support for directory lookup
    hesiodlhs           specify heriod lhs (left-hand side)
    hesiodrhs           specify heriod rhs (right-hand side)
clearpart all | linux
clearpart

Specify which partitions on a disk to remove in order to set up the correct partitions.

    all         removes all partitions
    linux       remove ext2, swap raid partitions
device
device

Not currently working.

driverdisk
driverdisk { KEY => VALUE, ... }

Specify a disk which will be copied to the root directory of the installed system.

    partition   specify the partition containing the driver disk
    type        specify the file system type of the partition
install
install

[text to come]

inst_type
inst_type

[text to come]

keyboard VALUE
keyboard

The keyboard method is used to specify the type of keyboard which is attached to a system.

Valid values for x86 architecture include:

azerty, be-latin1, be2-latin1, fr-latin0, fr-latin1, fr-pc, fr, wangbe, ANSI-dvorak, dvorak-l, dvorak-r, dvorak, pc-dvorak-latin1, tr_f-latin5, trf, bg, cf, cz-lat2-prog, cz-lat2, defkeymap, defkeymap_V1.0, dk-latin1, dk. emacs, emacs2, es, fi-latin1, fi, gr-pc, gr, hebrew, hu101, is-latin1, it-ibm, it, it2, jp106, la-latin1, lt, lt.l4, nl, no-latin1, no, pc110, pl, pt-latin1, pt-old, ro, ru-cp1251, ru-ms, ru-yawerty, ru, ru1, ru2, ru_win, se-latin1, sk-prog-qwerty, sk-prog, sk-qwerty, tr_q-latin5, tralt, trf, trq, ua, uk, us, croat, cz-us-qwertz, de-latin1-nodeadkeys, de-latin1, de, fr_CH-latin1, fr_CH, hu, sg-latin1-lk450, sg-latin1, sg, sk-prog-qwertz, sk-qwertz, slovene

and for Sparc:

sun-pl-altgraph, sun-pl, sundvorak, sunkeymap, sunt4-es, sunt4-no-latin1, sunt5-cz-us, sunt5-de-latin1, sunt5-es, sunt5-fi-latin1, sunt5-fr-latin1, sunt5-ru, sunt5-uk, sunt5-us-cz

lang
lang

The lang method is used to specify the type of language which will be used during the installation.

Valid languages include:

cs_CZ, en_US, fr_FR, de_DE, hu_HU, is_IS, id_ID, it_IT, ja_JP.ujis, no_NO, pl_PL, ro_RO, sk_SK, sl_SI, es_ES, ru_RU.KOI8-R, uk_UA

Use en_US to specify US english.

lilo { KEY => VALUE, ... }
lilo
  append        specify arguments to be passed to the kernel
  linear        specify that LILO to work in linear mode
  location      specify the locatation where LILO will be written
lilocheck 1
lilocheck

If set, LILO will not perform an installation onto a system which has LILO written in the master boot record of the first hard drive.

mouse VALUE
mouse

The mouse method specifies which mouse type should be configured for the system.

Valid mouse types include:

alpsps/2, ascii, asciips/2, atibm, generic, generic3, genericps/2, generic3ps/2, geniusnm, geniusnmps/2, geniusnsps/2, thinking, thinkingps/2, logitech, logitechcc, logibm, logimman, logimmanps/2, logimman+, logimman+ps/2, microsoft, msnew, msintelli, msintellips/2, msbm, mousesystems, mmseries, mmhittab, sun, none

network
network

[text to come]

packages
packages

[text to come]

part
part
    asprimary
    bytes-per-inode
    dir
    grow
    maxsize
    noformat
    ondisk
    onpart
    onprimary
    size
    type

[text to come]

post
post

[text to come]

pre
pre

[text to come]

raid
raid
    device      specify the name of the device (eg. md0, ...)
    dir         specify the mount point of the raid device
    level       specify the raid level to use (0, 1 or 5)
    partitions  an array of partitions to use for the device
reboot 1
reboot

Use the reboot method to specify that the system should be rebooted after completing the installation.

rootpw { iscrypted => 1, rootpw => '..' } | VALUE
rootpw

The rootpw method can either be called by passing a hash reference to it, or with a scalar value. If the root password being specified is already encrypted, you should call rootpw with a hash reference and set iscrypted to be on.

  iscrypted     specify that the password is encrypted
  rootpw        specify the root password
skipx 1
skipx

It is possible to skip X11 configuration entirely by using the skipx method.

timezone { utc => 1, timezone => '..' } | VALUE
timezone

The timezone method can be called by passing a hash reference to it, or with a scalar value. If the hardware clock is set to Greenwich Mean Time, you should call the method with a hash reference and set utc to be on.

  timezone      specify the timezone the system will be located in
  utc           specify that the hardware clock is set to UTC
upgrade
upgrade

[text to come]

xconfig
xconfig

The xconfig method can be used to configure the X Windowing System.

    card                specify which type of card to use
    defaultdesktop      specify to use kde or gnome
    hsync               specify the horizontal sync freq.
    monitor             specify what type of monitor to use
    noprobe             specify to not probe the monitor
    startxonboot        specify using run level 5 (instead of 3)
    vsync               specify the vertical sync freq.
zerombr 1
zerombr

Specify that the master boot record of the primary drive should be initialized.

AUTHOR INFORMATION ^

Written by Patrick Devine, 2001.

syntax highlighting: