On 03/15/2011 03:25 AM, David Kavanagh wrote: > Has anyone come up with a preferred method of messing with grub? I need > to install a hypervisor (like xen or kvm) and modify the grub.conf to > make the machine boot from the new kernel. > I might mess with Augeas. What do the experts say?
Hi, don't ever modify grub.cfg, neither with nor without puppet. It's not meant for that. What I do is use puppet to mess with the powerful scriptlets in /etc/grub.d (e.g., I rename them to have xen before non-xen kernels and roll my own modified version of the xen finding scriptlet to correctly detect my xen config). HTH, Felix -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.