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

Why this cookbook doesn't run the update-grub command when an update is applied? #4

Open
zedtux opened this issue Nov 9, 2021 · 3 comments

Comments

@zedtux
Copy link

zedtux commented Nov 9, 2021

The cookbook work like a charm to update the /etc/default/grub file, but without running the update-grub command, the config is not applied.

I would like to know the reason for this (You should have a good one) and if you could tell how you're using this cookbook please?

@rmcleod8
Copy link
Contributor

The intention was likely to not apply changes to live machines and instead wait for their reboot cycle to apply the staged changes. If you want to run update-grub on live machines, you can probably setup an execute block with subscribes.

@zedtux
Copy link
Author

zedtux commented Nov 10, 2021

Thank you for your reply @rmcleod8 !

update-grub is just updating the setup, the reboot is still needed then. How are you handling that command in your "reboot cycle"? Do you have a kind of script which detects the update and run it before the reboot, or something like that?

@zedtux
Copy link
Author

zedtux commented Nov 15, 2021

@rmcleod8 a gentle reminder on this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants