[Spacewalk-list] Hide inactive Kickstart profiles from pxe boot menu

Sebastien Leterrier sleterrier at blizzard.com
Sun Mar 3 18:48:47 UTC 2013


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: spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Sebastien Leterrier
Sent: Friday, March 01, 2013 3:48 PM
To: spacewalk-list at redhat.com
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



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20130303/5d26a359/attachment.htm>


More information about the Spacewalk-list mailing list