-
Notifications
You must be signed in to change notification settings - Fork 380
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
Only modify grub configuration if update-grub command is present #1493
Only modify grub configuration if update-grub command is present #1493
Conversation
Hi @jrosser. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
- name: Determine if update-grub is present | ||
ansible.builtin.stat: | ||
path: /usr/sbin/update-grub | ||
register: _stat_update_grub |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm curious, does the _
prefix mean anything special here? I've not seen this anywhere else in the codebase I don't think.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AverageMarcus it's a convention that i've come across in other projects to signify an internal variable rather than one which is intended to be exposed outside of a role
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/ok-to-test
/lgtm /assign @jsturtevant |
/test pull-azure-sigs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mboersma The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Change description
Only update the grub config on debian based hosts which have the
update-grub
command available.#1483 broke the
pull-azure-sigs
tests and this is a fix for hosts which boot without grub.Additional context
Boot information from a "confidential" type azure instance suggests it is EFI boot directly to the kernel.
There are no grub packages or utilities installed on this instance at all, even though there is a /boot/grub/grub.cfg present.