Menu Close
Settings Close

Language and Page Formatting Options

Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

8.158. pykickstart

An updated pykickstart package that fixes several bugs and adds one enhancement is now available for Red Hat Enterprise Linux 6.
The pykickstart package contains a python library for manipulating kickstart files.

Bug Fixes

When combining the autopart command with other kickstart partitioning commands in one kickstart file, installation proceeded unexpectedly with errors. The underlying source code has been modified so that the user is notified and installation is aborted with a parse error if the kickstart file contains invalid partitioning.
When a kickstart file specified two logical volumes with the same name, installation failed with this inappropriate error message:
AttributeError: 'LogVolData' object has no attribute 'device'
With this update, duplicate names are detected correctly and the appropriate error message is displayed.
When running a kickstart file that contained the "network" command with the "--ipv6" option specified, installation could terminate unexpectedly with the following message:
TypeError: not all arguments converted during string formatting
This update applies a patch to fix this bug and kickstart files work as expected in the described scenario.


This enhancement adds the ability to specify the "--ipv6gateway" option for the "network" command in kickstart files. As a result, both IPv4 and IPv6 default gateways can be specified for a network device configuration using the "network" command.
Users of pykickstart are advised to upgrade to this updated package, which fixes these bugs and adds this enhancement.