Red Hat Bugzilla – Bug 884399
cannot remove default install options when provisioning a manual system
Last modified: 2014-11-25 02:18:39 EST
When manually provisioning a system, the Provision tab has some js to populate the ksmeta and kernel options fields when a distro tree is selected. (The install options are generated from the global defaults + distro tree options + system options.) The user then has an opportunity to edit these before provisioning. If they remove an argument that has been populated by the js, it will be put back when Beaker does the provision.
Steps to reproduce:
1. Go to system page for a Manual system
2. Take the system, so that you are its current user
3. Go to Provision tab
4. Click a distro tree and wait for js to populate install options. At least ksdevice=bootif should appear in kernel options since it is shipped as a global default option in Beaker.
5. Delete ksdevice=bootif from Kernel Options and hit Provision.
ksdevice=bootif still appears in kernel command-line arguments (check provision.log on LC).
Install options as edited by the user are obeyed.
This is because the InstallOptions overriding code is being applied for manual provisioning where it probably shouldn't. It's essentially a regression in Beaker 0.9 when the new InstallOptions code was added.
Workaround: instead of deleting the option, prepend it with ! to make Beaker delete it in the InstallOptions overriding code.
*** Bug 1149228 has been marked as a duplicate of this bug. ***
Beaker 19.0 has been released.