In our lab we have a set of scripts that automatically configure a kickstart installation for RHEL5 on HP ProLiant DL380p Gen8. Based on data from several configuration files, it does the following steps:
- mounts redhat dvd
- modifies
isolinux.cfg
accordingly - creates
ks.cfg
- creates a bootdisk with the installation data (isolinux.cfg, ks.cfg, etc)
- creates a http server with the bootdisk directory.
- mounts the bootdisk through ILO (
/dev/scd1
) - installs RHEL5
Here is the line referring to the kickstart file location :
append initrd=initrd.img ks=hd:scd1:/isolinux/ks.cfg ksdevice=eth4
Everything works well for RHEL5, but there have been requests for RHEL6.
For RHEL6, everything seems to work OK until #7, where it returns the message "unable to download kickstart file"
. I have commented some lines in the scripts, eliminating the installation part and leaving only the ILO mount part.
The bootdisk is mounted and accessible on /dev/scd1
. The ks.cfg
file is present there. I have also tested and the files from the Kickstart server are accessible with wget
.
I have also tried accessing the ks.cfg
file through http :
append initrd=initrd.img ks=http://<ip>:<port>/boot/isolinux/ks.cfg ksdevice=eth4
The above part did not work.
But what really vexes me is that RHEL5 works in the same conditions, but RHEL6 does not.
- Does
ks.cfg
have a different structure? - Is the location of the
ks.cfg
file declared different from "hd:scd1:/isolinux/ks.cfg" on RHEL6? - It seems strange that
isolinux.cfg
andks.cfg
are both present on the bootdisk, but onlyisolinux.cfg
can be accessed.
I have been talking to redhat support for a week and they don't seem to know what is wrong.
Any help would be greatly appreciated.
ks.cfg
, so some fiddling will likely be required to move from RHEL5 to RHEL6. Your issue sounds more network related, though, is the device reallyeth4
or is RHEL6 instead generating some new device name for that NIC?ks=cdrom:/ks.cfg
, perhaps that'll work.cdrom
. The problem is that I have one physical cdrom (scd0) and the mounted image (scd1). Thank you for your response