8.158. pykickstart

download PDF
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.
Red Hat logoGithubRedditYoutubeTwitter


Try, buy, & sell


About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.