Backport imgcreate to RHEL5 pykickstart
commit881fd0946d15e87c37d5ca155b1b2f923929883b
authorMark McLoughlin <markmc@redhat.com>
Tue, 29 Jan 2008 00:00:00 +0000 (29 00:00 +0000)
committerAlan Pevec <apevec@redhat.com>
Sun, 28 Sep 2008 03:45:15 +0000 (28 05:45 +0200)
tree2b7e40806634a67c106cd96c2227e0e5fa0f9ab4
parentff1d207fb33a762bffe1a5780ab5b416c7e0ec5e
Backport imgcreate to RHEL5 pykickstart

RHEL5 pykickstart differs from latest Fedora pykickstart
in quite a number of ways:

  - No commands, errors or version sub-modules, but there
    is a data sub-module

  - readKickstart() doesn't support relative includes
    very well; it only tries the paths relative to the
    current directory rather than relative to the directory
    the topmost kickstart is in

  - Most of the parsed data is available at KsParser.ksdata
    rather than KsParser.hander.foo

  - No support for group include types (i.e. required, default,
    all etc.)

  - The contents of ksdata.groupList are a simply groups names
    rather than Group objects

  - ksdata.device has the following format:

      <type> <module>[:<module>...] [--opts=<opts>]

    rather than being a Device object.

  - No bootloader timeout or default kernel options.

  - No includepkgs/excludepkgs repo options.

  - Some ksdata attributes - e.g. timezone, firewall, rootpw,
    etc. - are dicts rather than objects

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
imgcreate/creator.py
imgcreate/kickstart.py
imgcreate/yuminst.py