Bug 214990 - Anaconda doesn't honor "key" keyword in kickstart file
Anaconda doesn't honor "key" keyword in kickstart file
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: anaconda (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Anaconda Maintenance Team
Depends On:
  Show dependency treegraph
Reported: 2006-11-10 09:49 EST by Jason Edgecombe
Modified: 2007-11-30 17:07 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-11-10 10:26:19 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Sample kickstart file (1.44 KB, text/plain)
2006-11-10 09:49 EST, Jason Edgecombe
no flags Details

  None (edit)
Description Jason Edgecombe 2006-11-10 09:49:29 EST
Description of problem:
When installing RHEL5b1 using kickstart, certain packages like gcc & make will
not install even if specified in the %packages section.

After consulting the rhel5b1 redhat email list, I have tried inserting the "key"
directive in the file file in order to choose the type of install (Client,
Workstation, Server, ...). The key is the same as the registration code (i.e. DW)

When using the "key" directive, the installer gives an error about "key" is not
a valid command.

See email discussion at

Version-Release number of selected component (if applicable):
Anaconda version

How reproducible:

Steps to Reproduce:
1. Copy RHEL5b1 ISO contents to a shared directory on an nfs server (I didn't
run genhdlist)
2. run a kickstart install using the attached file which includes the "key"
Actual results:
Using the Key directive produces an error. Not using the key directive excludes
useful packages like gcc and make which cause errors when specified in the
kickstart file

Expected results:
When I specify the gcc and make packages in kickstart, it should install gcc and

Additional info:
Mailing list thread:

When doing a manual install, the key directive is not saved in the
/root/anaconda-ks.cfg file.
Comment 1 Jason Edgecombe 2006-11-10 09:49:29 EST
Created attachment 140889 [details]
Sample kickstart file
Comment 2 Jeremy Katz 2006-11-10 10:26:19 EST
Support for the key directive wasn't added until post-beta1

Note You need to log in before you can comment on or make changes to this bug.