Skip to content

Commit

Permalink
Refs #36833 - New PXE loader "Grub2 UEFI SecureBoot (target OS)"
Browse files Browse the repository at this point in the history
  • Loading branch information
goarsna committed Mar 7, 2024
1 parent a1d337d commit befba8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions config/settings.d/tftp.yml.example
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,5 @@
# When false, the argument --no-check-certificate will be used.
#:verify_server_cert: true

# Directory where to search for GRUB2 and shim binaries to provision SecureBoot enabled
# hosts with the "Grub2 UEFI SecureBoot (target OS)" PXE loader
# Directory for OS specific NBPs for "Grub2 UEFI" PXE loaders
#:bootloader_universe:
2 changes: 1 addition & 1 deletion modules/tftp/tftp_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def instantiate(variant, mac = nil)

def create(variant, mac, os, major, minor, arch, build)
tftp = instantiate variant, mac
log_halt(400, "TFTP: Failed to setup target OS bootloader directory: ") { tftp.setup_bootloader(mac, os, major, minor, arch, build) }
log_halt(400, "TFTP: Failed to setup host specific bootloader directory: ") { tftp.setup_bootloader(mac, os, major, minor, arch, build) }
log_halt(400, "TFTP: Failed to create pxe config file: ") { tftp.set(mac, (params[:pxeconfig] || params[:syslinux_config])) }
end

Expand Down

0 comments on commit befba8a

Please sign in to comment.