Skip to content

Commit

Permalink
Merge pull request #364 from steveb/efi-redhat-dp2
Browse files Browse the repository at this point in the history
Fix the boot EFI path for RHEL containers
  • Loading branch information
openshift-merge-bot[bot] authored Nov 27, 2023
2 parents c792620 + a585013 commit 0228729
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions templates/ironicconductor/bin/pxe-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ fi
# Check for expected EFI directories
if [ -d "/boot/efi/EFI/centos" ]; then
efi_dir=centos
elif [ -d "/boot/efi/EFI/rhel" ]; then
efi_dir=rhel
elif [ -d "/boot/efi/EFI/redhat" ]; then
efi_dir=redhat
else
echo "No EFI directory detected"
exit 1
Expand Down
4 changes: 2 additions & 2 deletions templates/ironicinspector/bin/pxe-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ envsubst < ${INSPECTOR_IPXE} | tee ${INSPECTOR_IPXE}
# Check for expected EFI directories
if [ -d "/boot/efi/EFI/centos" ]; then
efi_dir=centos
elif [ -d "/boot/efi/EFI/rhel" ]; then
efi_dir=rhel
elif [ -d "/boot/efi/EFI/redhat" ]; then
efi_dir=redhat
else
echo "No EFI directory detected"
exit 1
Expand Down
2 changes: 1 addition & 1 deletion tests/functional/base_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const (
PxeContainerImage = "test://pxe-image"
IronicPythonAgentImage = "test://ipa-image"
IronicInputHash = "n5b8h55ch59ch64ch66dh67bh7h565h687h55bh6hbbhf9h59fh7bhcfh657h68fh5f8h574h654h75h675h695h5f4h588h68dh674h56bh574h5d4h568q"
ConductorInputHash = "n75h57bh9h5b8h5fchcbh55h5fhd5h6dh57bhd5h547h696h5f9h79hffh58fh55fh66bh5b6h68dh9dh5ch694hf5h55bh84h9bh5bch5c5h545q"
ConductorInputHash = "n64bh548h5cfhf6h5cfh68fh97h67ch595h567h88h9h97h8dh565h57h65dh9h575h64bh59bh667h575hbfhf4h598h5f5h5ddh5dch587h5b6h556q"
APIInputHash = "n58ch588h669h549hddh64dhd6h687h5f5h57bh679h5b6hf6hf8h96h58fh684h589h574h54dh95hf5h64bh696h7h86hd4hf6h9fh545h68ch96q"
)

Expand Down

0 comments on commit 0228729

Please sign in to comment.