[katello] Adding discovery image boot to locked PXELinux global default

Hi,

In our regular the foreman install we modified the "PXELinux global
default" provisioning template to boot from the discovery image.

Now we've installed latest katello and the provisioning template is
locked. This is actually nice but how do I change the default PXELinux
boot to our modified clone?

I tried setting the default PXE template in Settings>Katello, but that
didn't change anything

katello_default_PXELinux         PXELinux global Netbulae        
Default PXElinux template for new Operating Systems

Thanks in advance.

Met vriendelijke groet, With kind regards,

Jorick Astrego

Netbulae Virtualization Experts

··· ----------------
Tel: 053 20 30 270 	info@netbulae.eu 	Staalsteden 4-3A 	KvK 08198180
Fax: 053 20 30 271 	www.netbulae.eu 	7547 TA Enschede 	BTW NL821234584B01

> Hi,
>
> In our regular the foreman install we modified the "PXELinux global
> default" provisioning template to boot from the discovery image.
>
> Now we've installed latest katello and the provisioning template is
> locked. This is actually nice but how do I change the default PXELinux
> boot to our modified clone?

Yea, that was an oversight on my part, didn't realize Discovery
needed to change the template. We're working on a fix, but
until then, you can unlock it by running this from the command line
as root:

echo ConfigTemplate.find_by_name('PXELinux global default').update_attribute(:locked, false) | foreman-rake console

>
> I tried setting the default PXE template in Settings>Katello, but that
> didn't change anything
>
> katello_default_PXELinux PXELinux global Netbulae
> Default PXElinux template for new Operating Systems

I would change that back to "Kickstart default PXELinux" too, if
you're going to use the normal PXE provisioning stuff.

When you synchronize an OS from Katello (RHEL, Fedora, CentOS, etc),
Katello will create the Operating System and make all the template
associations for you using those settings.

··· On Thu, Oct 23, 2014 at 01:48:39PM +0200, Jorick Astrego wrote:


Stephen Benjamin


Red Hat GmbH | http://de.redhat.com/ | Sitz: Grasbrunn
Handelsregister: Amtsgericht München, HRB 153243
Geschäftsführer: Charles Cachera, Michael Cunningham,
Michael O’Neill, Charles Peters