Bug 472776 - anaconda ignore kickstart bootloader append option
Summary: anaconda ignore kickstart bootloader append option
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-11-24 15:17 UTC by Jean-Francois Saucier
Modified: 2008-11-24 20:32 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-11-24 18:50:11 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jean-Francois Saucier 2008-11-24 15:17:39 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.4) Gecko/2008111217 Fedora/3.0.4-1.fc9 Firefox/3.0.4

A kickstart with the following line in it will result in "rhgb quiet" to being appended in grub after the install :

bootloader --location=partition --driveorder=sda,sdb --append=""


More, if I check the anaconda-ks.cfg after the install, the line is present in it :

bootloader --location=partition --driveorder=sda,sdb --append="rhgb quiet"

Reproducible: Always

Steps to Reproduce:
1.Make a kickstart with the line in it
2.Boot the installer with the kickstart file
3.Make the install and reboot
Actual Results:  
Check that grub has "rhgb quiet" appended

Expected Results:  
grub have no append like it is specified in the kickstart file

Comment 1 Chris Lumens 2008-11-24 18:50:11 UTC
This is actually working as designed.  anaconda adds the "rhgb quiet" boot arguments itself, which is why they show up in your grub.conf.  We probably shouldn't write them out to the anaconda-ks.cfg though since they're not really extra arguments.  Your --append="" is working - it's just appending nothing to the arguments list.

Comment 2 Jean-Francois Saucier 2008-11-24 19:48:25 UTC
Ok, thank you for your answer.

Just to know, why anaconda add it itself? Apart from scripting, there is no way to remove the options from grub?

Comment 3 Chris Lumens 2008-11-24 19:57:44 UTC
We add them because those are the options we feel are appropriate for most users.  And yes, you will probably have to write a little blurb in a %post script to remove them.  booty might be helpful here, but might also be more trouble than it's worth.

Comment 4 Jean-Francois Saucier 2008-11-24 20:32:01 UTC
Ok, thank you for the explanation, I will add this little one-liner to my kickstart :

sed 's/ rhgb quiet//g' /boot/grub/grub.conf > /boot/grub/grub.conf.temp && mv -f /boot/grub/grub.conf.temp /boot/grub/grub.conf


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