Bug 441837
Summary: | pykickstart - option --bootproto: invalid choice: 'query' (choose from 'dhcp', 'bootp', 'static') | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | James Laska <jlaska> | ||||
Component: | pykickstart | Assignee: | Chris Lumens <clumens> | ||||
Status: | CLOSED ERRATA | QA Contact: | Alexander Todorov <atodorov> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 5.2 | CC: | atodorov, jturner, rvandolson | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | RHBA-2008-0459 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2008-05-21 14:30:13 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 401531 | ||||||
Attachments: |
|
Description
James Laska
2008-04-10 14:26:32 UTC
This blocks end-2-end verification of bug#401531. While this is late in the cycle, if we desire to support the hotfix pushed out against 5.1 (officially fixed in #401531), I think we'll need to take this in. Created attachment 302001 [details] screen capture of the error mentioned in comment #0 This patch should fix it: diff --git a/pykickstart/parser.py b/pykickstart/parser.py index a37baa0..c4a0e82 100644 --- a/pykickstart/parser.py +++ b/pykickstart/parser.py @@ -581,7 +581,7 @@ class KickstartHandlers: def doNetwork(self, args): op = KSOptionParser(lineno=self.lineno) op.add_option("--bootproto", dest="bootProto", default="dhcp", - choices=["dhcp", "bootp", "static"]) + choices=["dhcp", "bootp", "static", "query"]) op.add_option("--class", dest="dhcpclass") op.add_option("--device", dest="device") op.add_option("--essid", dest="essid") VERIFIED proposed patch in updates image (http://devserv.devel.redhat.com/~jlaska/updates-441837.img (also includes fix for bug#442020)). This will be fixed in pykickstart-0.43-1. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2008-0459.html |