tinkerbell / actions

Suite of Tinkerbell Actions for use in Tinkerbell Workflows
Apache License 2.0
27 stars 42 forks source link

Allow custom path for grub.cfg #144

Open ttwd80 opened 2 weeks ago

ttwd80 commented 2 weeks ago

Description

Add the ability to specify custom location for grub.cfg.

Why is this needed

Ubuntu 24.04 cloud image mounts the /boot partition. The default /boot/grub/grub.cfg location is invalid when we mount the partition. The location when there is a /boot partition is grub/grub.cfg.

Fixes: #142

How Has This Been Tested?

How are existing users impacted? What migration steps/scripts do we need?

It uses the default value of boot/grub/grub.cfg for GRUBCFG_PATH if not specified. Existing users are not impacted.

Checklist:

I have:

More info on Ubuntu 24.04 cloud image partition - https://bugs.launchpad.net/cloud-images/+bug/2072929