Bug 714405

Summary: Cobbler: Adding system named "default" no longer suppresses the PXE menu
Product: [Fedora] Fedora Reporter: Charles Butterfield <cb20777>
Component: cobblerAssignee: James C. <jimi>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 14CC: awood, dgoodwin, jimi, shenson, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-17 01:30:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Charles Butterfield 2011-06-19 02:11:41 UTC
Description of problem:

Adding system named "default" no longer suppresses the PXE menu

Version-Release number of selected component (if applicable): cobbler.noarch-2.0.11-2.fc14


How reproducible: Always


Steps to Reproduce:
1. Delete all systems
2. Add system named "default" with some profile
3. PXE boot (I'm using a KVM VM and thus gPXE)
  
Actual results:
Get a menu showing "local" plus all of the profiles, which then goes to the default "local", which doesn't do anything useful.


Expected results:
Directly install the profile associated with system "default"


Additional info:

Comment 1 Charles Butterfield 2011-06-19 02:14:24 UTC
Hmmm, I should mention that after the initial failure, I did the following "just to be sure":

cobbler sync
system cobblerd restart
cobbler sync
system cobblerd restart

Still no joy

Comment 2 James C. 2012-04-17 01:30:35 UTC
This would seem to be a weird side-effect rather than a feature that was broken. Adding a flag/setting to disable the generation of the default menu would probably be better. In the meantime, profiles have the option --enable-menu which prevents that profile from showing up in the default list. If you set that to 0 for all of your profiles, your default menu item will be empty except for the localboot option.

I'm going to go ahead and close this as a non-bug, if you'd like to request a feature to disable generation of the PXE default file, please do so on the github issue tracker: https://github.com/cobbler/cobbler/issues