Open tisauro opened 5 years ago
The grub_menuentry
type requires either grub
or grubby
commands. It seems recent Ubuntu versions don't have them. @trevor-vaughan do you know what needs to be used instead?
@raphink Yep, someone needs to go write a parser for all of GRUB2 that does what grubby
does in terms of information retrieval. I don't Ubuntu so, until EL drops grubby
, totally not volunteering for this one.
Basically, just run grubby --info DEFAULT
(and for individual kernels) and find a way to get all of that info.
Ack. I use Ubuntu but I don't manage grub stuff with Puppet. Ubuntu doesn't have grubby
so I can't check the output. Bottom line so far, we'd welcome a PR to fix that in a proper way in Debian-based OSes @tisauro
As a quick check to see if there was some reason that grubby
wasn't available for Ubuntu, I spun up a 1604 system, snagged the repo from https://github.com/rhboot/grubby, built it and it worked just fine.
Honestly, I'd recommend that someone ask Ubuntu to include it instead of trying to reinvent the wheel.
Hi,
I am trying to create a new menu entry in Ubuntu 16.04 using the sample provided
however when I apply it to my node I get the error
is there anything I missing?
many thanks in advance Kind regards, Mauro