Red Hat Bugzilla – Bug 855371
anaconda doesn't handle correctly the method=cdrom command line parameter
Last modified: 2013-10-02 09:33:51 EDT
Description of problem:
The anaconda documentation says that it is possible to use the cdrom value for the method parameter in the kernel command line when we want to make a RHEL installation.
However if we set method=cdrom on the kernel command line, it seems that anaconda doesn't handle it correctly since the loader display the installation method window.
After looking in the code, I discovered on the loader2/method.c file (line 739) that the string comparison is done with the 'cdrom:' and not only on 'cdrom'.
If on my kernel command line i put method=cdrom:, anaconda detects automatically the install method and doesn't display the 'Installation method' anymore.
Moreover in the anaconda code, the comparison is done against the string 'cdrom://'.
So I conclude, there is a mismatch between the documentation and the way anaconda parses the method parameter.
Version-Release number of selected component (if applicable): 126.96.36.199-1
How reproducible: Try to make an automated installation with a kickstart configured without the cdrom parameter and the kernel parameter method=cdrom
Steps to Reproduce:
1.Having a kickstart file without the cdrom parameter
2.Declare a kernel command line with method=cdrom
Actual results: The loader binary asks for the Installation method because it couldn't parse the method parameter.
Expected results:The loader binary shouldn't ask for the Installation Method.
Thanks for catching this, Olivier. I've edited the listing for the cdrom parameter so it now reads 'method=cdrom://'
You'll find this update in the 5.10 documentation.
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.
Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.