mirror of
https://github.com/inspec/inspec
synced 2024-11-13 08:27:08 +00:00
correct the grub path for rhel 7 based os in grub_conf resource (#2332)
Signed-off-by: Patrick Münch <patrick.muench1111@gmail.com>
This commit is contained in:
parent
95f825aec2
commit
7d95ce8300
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ class GrubConfig < Inspec.resource(1) # rubocop:disable Metrics/ClassLength
|
|||
@conf_path = path || '/etc/grub.conf'
|
||||
@version = 'legacy'
|
||||
else
|
||||
@conf_path = path || '/boot/grub/grub.cfg'
|
||||
@conf_path = path || '/boot/grub2/grub.cfg'
|
||||
@defaults_path = '/etc/default/grub'
|
||||
@version = 'grub2'
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue