Bug 164776 - PXE boot config file for PXE install clients unusable if kickstart file has not been specified
Summary: PXE boot config file for PXE install clients unusable if kickstart file has n...
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: redhat-config-netboot   
(Show other bugs)
Version: 3.0
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Jason Vas Dias
QA Contact:
Depends On:
Blocks: 156320
TreeView+ depends on / blocked
Reported: 2005-08-01 11:33 UTC by bastiaan
Modified: 2007-11-30 22:07 UTC (History)
0 users

Fixed In Version: RHBA-2005-486
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-09-28 19:38:47 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2005:486 qe-ready SHIPPED_LIVE redhat-config-netboot bug fix update 2005-09-28 04:00:00 UTC

Description bastiaan 2005-08-01 11:33:17 UTC
Description of problem:
If you configure a client for 'Network OS install' and leave the 'Kickstart
File' field empty, the installation of the client will fail because it cannot
find a kickstart file named "". 

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

How reproducible:

Steps to Reproduce:
1. start redhat-config-netboot
2. configure a Network Installation profile
3. configure a client with this profile and leave the 'kickstart file' field empty.
4. boot the client
Actual results:
The installation will fail at the point where it tries to download the kickstart
file, complaining it cannot find it.

Expected results:
The install should continue interactively.

Additional info:
Doing kickstart-less network installs may sound unusual, but it is very
convenient for systems where you cannot boot from CD/DVD.
In redhat-config-netboot the problem can be solved easily by checking whether a
kickstart file has been specified and ommitting the 'ks=' parameter if it hasn't.
But maybe the proper solution would be if the installer compononent (anaconda?)
would interpret an empty ks parameter as equivalent to no kickstart file at all.

Comment 1 Jason Vas Dias 2005-08-01 14:03:18 UTC
I think later versions of anaconda will ignore the empty 'ks=' parameter,
which is why this bug was not found during testing. This bug will be fixed
with subsequent releases of redhat-config-bind .
Workaround : edit /tftpboot/linux.install/pxelinux.cfg/${NET} configuration
file for $NET to remove the 'ks=' option .

Comment 2 Jason Vas Dias 2005-08-05 22:49:33 UTC
This is now fixed with redhat-config-netboot-0.1.24-1_EL3 - pxeboot.py will no
longer generate an empty 'ks=' syslinux.cfg file boot parameter string.

When no kickstart file is specified for a network install, then the 
install method ( the protocol, server and location ) specified in 
the network dialog would be lost;  the client user would have to specify
these manually for each install in anaconda, as well as the network 
configuration method and interface .

redhat-config-netboot was writing a default 'ks.cfg' file to 
/tftpboot/linux-install/${OS}/ks.cfg , containing just the network 
method install parameters, eg:
' nfs --server ${SERVER} --dir ${LOCATION} 
But unless users put this into the initrd manually, or specified
this as an NFS, HTTP, or FTP URL kickstart file in the network
installation dialog (requiring a server for the protocol to be run),
it could never be used from this location, and r-c-n never told
users about this file.

Now, if no kickstart file is specified in the network installation dialog,
r-c-n will write the parameters to the pxelinux.cfg/${net|default} syslinux.cfg
file, eg:
label 1
    kernel ${OS}/vmlinuz
    append initrd=${OS}/initrd.img ramdisk_size=10000 \
method=${PROTOCOL}:${SERVER}:${LOCATION} ip=dhcp
So install client users will now have to specify only the language and 
keyboard before the NFS location is mounted and anaconda kicks off in
graphical X mode by default .

This version is available from:
Please try out this version and let me know of any issues - thank you.


Comment 9 Red Hat Bugzilla 2005-09-28 19:38:47 UTC
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.


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