Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grubcmdline: Support Ubuntu/ cloud-init combination #29

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

jjo93sa
Copy link
Contributor

@jjo93sa jjo93sa commented Apr 19, 2024

In our testing it seems that Ubuntu-based cloud-init images use alternate grub config file.

Ubuntu images with cloudinit use a different base/source for its grub configuration than Redhat derivatives - /etc/default/grub.d/50-cloudimg-settings.cfg not /etc/default/grub.

We look for the cloud-init config file and use that in the future commands, otherwise default to /etc/default/grub file.

jjo93sa added 2 commits April 18, 2024 16:43
Ubuntu images with cloudinit use a different base/source for its grub
configuration than CentOS - /etc/default/grub.d/50-cloudimg-settings.cfg not
/etc/default/grub.

We look for the cloud-init config file and use that, otherwise default
to /etc/default/grub file.
@jjo93sa jjo93sa requested a review from a team as a code owner April 19, 2024 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant