cookbook 'grub', '= 0.1.1'
grub (3) Versions 0.1.1 Follow0
Configures grub
cookbook 'grub', '= 0.1.1', :supermarket
knife supermarket install grub
knife supermarket download grub
Grub Cookbook
Cookbook which configures the Grub Bootloader.
Platforms
The following platforms are tested using Test Kitchen:
- Ubuntu 12.04/14.04/16.04
- CentOS (RHEL) 5/6/7
Basic Usage
The [default recipe](recipes/default.rb) gives you the ability to pass attributes to tune your grub settings.
There are currently no defaults in this cookbook so your regular distrobution provided grub file will remain intact.
You can tweak the settings in the Policefile.rb or directly using attributes. All GRUB specific settings
should use underscores like the examples below.
Recipe
node.default['grub']['config']['settings']['timeout'] = 30 node.default['grub']['config']['settings']['distributor'] = "$(sed 's, release .*$,,g' /etc/system-release)" node.default['grub']['config']['settings']['terminal_output'] = "console"
Policyfile
name 'grub' default_source :community cookbook 'grub', git: 'https://github.com/acaiafa/grub-cookbook' run_list 'grub::default' override['grub']['config']['settings']['timeout'] = 30 override['grub']['config']['settings']['distributor'] = "$(sed 's, release .*$,,g' /etc/system-release)" override['grub']['config']['settings']['terminal_output'] = "console"
Dependent cookbooks
poise >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Change Log
All notable changes to this project will be documented in this file.
This project adheres to Semantic Versioning.
Unreleased
1.0.0
Bug Fixes
- Fixes integration test harness using Test Kitchen.
- Squashes several issues while testing locally and on machines.