Hi Scott:
Thank you for the feedback.
but fixing it in post seems like a valid work around.
That makes sense and is what I implemented. It works perfectly.
Again, I'm not sure how the pxe templates affect the grub.conf. Perhaps you are looking at the new UEFI boot support? That grub.conf is only used for install time and only on hosts that
support UEFI PXE booting.
That explains things. I was definitely off base with that approach. Thanks for the explanation.
Best regards,
Joe
-----Original Message----- From: Scott Henson [mailto:shenson@redhat.com] Sent: Thursday, January 06, 2011 6:55 AM To: Joe Linoff; cobbler mailing list Subject: Re: invalid xen kernel in dom0 /boot/grub/grub.conf -- how can i fix it automatically?
On Wed, 5 Jan 2011 14:29:33 -0800, "Joe Linoff" jlinoff@tabula.com wrote:
Hi Folks:
When I provision my dom0 server using cobbler, it uses the wrong xen kernel in the /boot/grub/grub.conf file which causes xend to fail with
a permissions problem. I can fix it manually but I would like to fix automatically. There are at least two possible choices:
- edit during the %post of kickstart or
I am pretty sure grub.conf is something that the kernel-xen rpm should be modifying and keeping up to date itself. I'm not sure how cobbler would be responsible for the file not getting laid down properly, but fixing it in post seems like a valid work around.
- configure the pxe templates (/etc/cobbler/pxe) correctly.
Again, I'm not sure how the pxe templates affect the grub.conf. Perhaps you are looking at the new UEFI boot support? That grub.conf is only used for install time and only on hosts that support UEFI PXE booting.
-- Scott Henson Red Hat CIS Operator WVU Alum BSAE/BSME