Skip to content

Commit

Permalink
Make exception to grub_efi_path for OracleLinux
Browse files Browse the repository at this point in the history
Apparently they didn't get the memo when rebranding their distro.
  • Loading branch information
eb4x authored and ekohl committed Feb 12, 2024
1 parent 5409839 commit 623a107
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion manifests/tftp/netboot.pp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@

case $grub_installation_type {
'redhat': {
$grub_efi_path = downcase($facts['os']['name'])
$grub_efi_path = $facts['os']['name'] ? {
'OracleLinux' => 'redhat',
default => downcase($facts['os']['name']),
}

file { "${root}/grub2/grubx64.efi":
ensure => file,
Expand Down

0 comments on commit 623a107

Please sign in to comment.