Revision fa518629
Added by Eric Helms about 4 years ago
manifests/tftp/netboot.pp | ||
---|---|---|
}
|
||
}
|
||
'redhat': {
|
||
$shim_file = $facts['os']['release']['major'] ? {
|
||
'7' => 'shim.efi',
|
||
default => 'shimx64.efi'
|
||
}
|
||
|
||
$grub_efi_path = $::operatingsystem ? {
|
||
/Fedora|CentOS/ => downcase($::operatingsystem),
|
||
default => 'redhat',
|
||
... | ... | |
source => "/boot/efi/EFI/${grub_efi_path}/grubx64.efi",
|
||
}
|
||
|
||
file { "${root}/grub2/shim.efi":
|
||
file { "${root}/grub2/${shim_file}":
|
||
ensure => file,
|
||
source => "/boot/efi/EFI/${grub_efi_path}/shim.efi",
|
||
source => "/boot/efi/EFI/${grub_efi_path}/${shim_file}",
|
||
mode => '0644',
|
||
owner => 'root',
|
||
}
|
Also available in: Unified diff
Refs #29213: Update shim.efi path for EL8