Project

General

Profile

Actions

Bug #29591

closed

Efibootmgr_netboot assumes bash is used.

Added by Ben ter Haar about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Templates
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

During testing with debian deployment on EFI hosts, we noticed that the /tmp/finish.sh throws an error: in-target: /tmp/finish.sh: 325: /tmp/finish.sh: [[: not found. This is caused by provisioning_templates/snippet/efibootmgr_netboot.erb which uses double brackets when testing for efi. Replacing the test cases with single brackets will make efibootmgr_netboot compliant with sh.

The fix for this has been pushed into develop branch, however fixing this in the stable branches should be considered. I've attached a patch based on 1.24-stable which fixes the issue. Please let me know if you need anything else.

--BtH


Files

fix_efibootmgr_netboot.patch fix_efibootmgr_netboot.patch 1.4 KB Patch based on 1.24-stable Ben ter Haar, 04/22/2020 09:40 AM
Actions

Also available in: Atom PDF