Red Hat Bugzilla – Bug 472776
anaconda ignore kickstart bootloader append option
Last modified: 2008-11-24 15:32:01 EST
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:220.127.116.11) 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"
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
Check that grub has "rhgb quiet" appended
grub have no append like it is specified in the kickstart file
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.
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?
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.
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