For reference, here is the answer to my question:

# cobbler edit profile --name=<profile_name> --enable_menu=0



This change is permanent and won't be reverted back to 1 when the Kickstart 
profile is edited and saved via the GUI.

- Seb L. | Senior Systems Administrator



From: [email protected] 
[mailto:[email protected]] On Behalf Of Sebastien Leterrier
Sent: Friday, March 01, 2013 3:48 PM
To: [email protected]
Subject: Re: [Spacewalk-list] Hide inactive Kickstart profiles from pxe boot 
menu



Following some investigation, what I am trying to achieve here is to override 
the global cobbler option "enable_menu" on a Spacewalk kickstart profile basis.



/etc/cobbler/settings:

<...>

# controls whether cobbler will add each new profile entry to the default

# PXE boot menu.  This can be over-ridden on a per-profile

# basis when adding/editing profiles with --enable-menu=0/1.  Users

# should ordinarily leave this setting enabled unless they are concerned

# with accidental reinstalls from users who select an entry at the PXE

# boot menu.  Adding a password to the boot menus templates

# may also be a good solution to prevent unwanted reinstallations

enable_menu: 1

<...>



How can I specify enable-menu=0 for a specific kickstart profile?





Seb L. - Senior Systems Administrator



_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to