Is anyone using the the bootdisk plugin with 1.4.2?

I am having trouble getting this plugin to work or I am unclear on how it
is supposed to work.

I created an OS for centos6 using the "Kickstart default iPXE" and
"Kickstart default" templates as instructed. As there was no mention of
which PXE template to use I left that out, but the host won't boot with out
a PXE template so I added the default.

Beyond that I'm unclear what to do or if the I should use the "Boot disk
iPXE - generic host" I see how I can make isos, but I am working with KVM
instances which don't seem to want to read the isos.

TIA

> I am having trouble getting this plugin to work or I am unclear on how
> it is supposed to work.
>
> I created an OS for centos6 using the "Kickstart default iPXE" and
> "Kickstart default" templates as instructed. As there was no mention of
> which PXE template to use I left that out, but the host won't boot with
> out a PXE template so I added the default.

If you're using bootdisk then you don't need a PXELinux template, but do
need an iPXE template.

> Beyond that I'm unclear what to do or if the I should use the "Boot disk
> iPXE - generic host" I see how I can make isos, but I am working with
> KVM instances which don't seem to want to read the isos.

You don't need to do anything with the "Boot disk" templates.

I've not had an issue using the ISOs on KVM instances, when attached as
a CDROM.

··· On 05/05/14 06:00, sanderant@gmail.com wrote:


Dominic Cleal
Red Hat Engineering

Hey Dominic, I was hoping you would reply. :slight_smile:

I follow your instructions, but I can't get it to work. I create a new
operating system called centos-ipxe.

I add the kickstart-default as the provisioning template and
kickstart-ipxe-default as the ipxe template as instructed.

When I try to build a host I get the following error:
Unable to save
Failed to generate PXELinux template: undefined method `template' for
nil:NilClass

Do I need a PXELinux template? If I add one the host won't boot. What am I
missing?

Thanks for all your hard work.

··· On Tuesday, May 6, 2014 4:01:46 AM UTC-4, Dominic Cleal wrote: > > On 05/05/14 06:00, sand...@gmail.com wrote: > > I am having trouble getting this plugin to work or I am unclear on how > > it is supposed to work. > > > > I created an OS for centos6 using the "Kickstart default iPXE" and > > "Kickstart default" templates as instructed. As there was no mention of > > which PXE template to use I left that out, but the host won't boot with > > out a PXE template so I added the default. > > If you're using bootdisk then you don't need a PXELinux template, but do > need an iPXE template. > > > Beyond that I'm unclear what to do or if the I should use the "Boot disk > > iPXE - generic host" I see how I can make isos, but I am working with > > KVM instances which don't seem to want to read the isos. > > You don't need to do anything with the "Boot disk" templates. > > I've not had an issue using the ISOs on KVM instances, when attached as > a CDROM. > > -- > Dominic Cleal > Red Hat Engineering >

Hmm, I guess you have a TFTP proxy enabled on the subnet so it's
expecting a PXELinux template to be associated. Go ahead and associate it.

Can you provide any more info on why the host won't boot? I assume
you're booting from CD or USB using one of the two images? What's shown
on the screen, what's shown in Foreman's /var/log/foreman/production.log?

··· -- Dominic Cleal Red Hat Engineering

On 07/05/14 02:04, sanderant@gmail.com wrote:

Hey Dominic, I was hoping you would reply. :slight_smile:

I follow your instructions, but I can’t get it to work. I create a new
operating system called centos-ipxe.

I add the kickstart-default as the provisioning template and
kickstart-ipxe-default as the ipxe template as instructed.

When I try to build a host I get the following error:

    Unable to save

Failed to generate PXELinux template: undefined method `template’ for

nil:NilClass

Do I need a PXELinux template? If I add one the host won’t boot. What am
I missing?

Thanks for all your hard work.

On Tuesday, May 6, 2014 4:01:46 AM UTC-4, Dominic Cleal wrote:

On 05/05/14 06:00, sand...@gmail.com <javascript:> wrote:
> I am having trouble getting this plugin to work or I am unclear on
how
> it is supposed to work.
>
> I created an OS for centos6 using the "Kickstart default iPXE" and
> "Kickstart default" templates as instructed. As there was no
mention of
> which PXE template to use I left that out, but the host won't boot
with
> out a PXE template so I added the default.

If you're using bootdisk then you don't need a PXELinux template,
but do
need an iPXE template.

> Beyond that I'm unclear what to do or if the I should use the
"Boot disk
> iPXE - generic host" I see how I can make isos, but I am working with
> KVM instances which don't seem to want to read the isos.

You don't need to do anything with the "Boot disk" templates.

I've not had an issue using the ISOs on KVM instances, when attached as
a CDROM.

-- 
Dominic Cleal
Red Hat Engineering


You received this message because you are subscribed to the Google
Groups “Foreman users” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to foreman-users+unsubscribe@googlegroups.com
mailto:foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com
mailto:foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Yes the host doesn't pxe boot due to a networking problem. I thought the
boot-disk add-on wouldn't require pxe boot, but I'm guessing based on what
you are saying that it really uses the iso to boot and there doesn't appear
to be an easy way to set this up as a kvm template.

At any rate it looks like the image based provisioning might be a better
fit for what I am looking for since I have that working in my kvm instance
already.

Thanks for your hard work,

Sander

··· On Wednesday, May 7, 2014 4:23:40 AM UTC-4, Dominic Cleal wrote: > > Hmm, I guess you have a TFTP proxy enabled on the subnet so it's > expecting a PXELinux template to be associated. Go ahead and associate > it. > > Can you provide any more info on why the host won't boot? I assume > you're booting from CD or USB using one of the two images? What's shown > on the screen, what's shown in Foreman's /var/log/foreman/production.log? > > -- > Dominic Cleal > Red Hat Engineering > > On 07/05/14 02:04, sand...@gmail.com wrote: > > Hey Dominic, I was hoping you would reply. :) > > > > I follow your instructions, but I can't get it to work. I create a new > > operating system called centos-ipxe. > > > > I add the kickstart-default as the provisioning template and > > kickstart-ipxe-default as the ipxe template as instructed. > > > > When I try to build a host I get the following error: > > > > > > Unable to save > > > > # Failed to generate PXELinux template: undefined method `template' for > > nil:NilClass > > > > > > Do I need a PXELinux template? If I add one the host won't boot. What am > > I missing? > > > > Thanks for all your hard work. > > > > On Tuesday, May 6, 2014 4:01:46 AM UTC-4, Dominic Cleal wrote: > > > > On 05/05/14 06:00, sand...@gmail.com wrote: > > > I am having trouble getting this plugin to work or I am unclear on > > how > > > it is supposed to work. > > > > > > I created an OS for centos6 using the "Kickstart default iPXE" and > > > "Kickstart default" templates as instructed. As there was no > > mention of > > > which PXE template to use I left that out, but the host won't boot > > with > > > out a PXE template so I added the default. > > > > If you're using bootdisk then you don't need a PXELinux template, > > but do > > need an iPXE template. > > > > > Beyond that I'm unclear what to do or if the I should use the > > "Boot disk > > > iPXE - generic host" I see how I can make isos, but I am working > with > > > KVM instances which don't seem to want to read the isos. > > > > You don't need to do anything with the "Boot disk" templates. > > > > I've not had an issue using the ISOs on KVM instances, when attached > as > > a CDROM. > > > > -- > > Dominic Cleal > > Red Hat Engineering > > > > -- > > You received this message because you are subscribed to the Google > > Groups "Foreman users" group. > > To unsubscribe from this group and stop receiving emails from it, send > > an email to foreman-user...@googlegroups.com > > <mailto:foreman-users+unsubscribe@googlegroups.com >. > > To post to this group, send email to forema...@googlegroups.com > > <mailto:forema...@googlegroups.com >. > > Visit this group at http://groups.google.com/group/foreman-users. > > For more options, visit https://groups.google.com/d/optout. > >