From 6e93e8f3a8daa7f3558b2d082f40b1abf0c76314 Mon Sep 17 00:00:00 2001 From: Jonathon Anderson Date: Thu, 21 Dec 2023 20:20:06 -0700 Subject: [PATCH] Fix relative ipxe paths IPXESOURCE is pointing to /usr/share/ipxe/ by default, so the `ipxe/` directory should not be included in the compiled-in relative defaults. Fixes a bug in #1010 Signed-off-by: Jonathon Anderson --- internal/pkg/config/tftp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/pkg/config/tftp.go b/internal/pkg/config/tftp.go index bdbfeeba..cd5260df 100644 --- a/internal/pkg/config/tftp.go +++ b/internal/pkg/config/tftp.go @@ -7,5 +7,5 @@ type TFTPConf struct { TftpRoot string `yaml:"tftproot" default:"/var/lib/tftpboot"` SystemdName string `yaml:"systemd name" default:"tftp"` - IpxeBinaries map[string]string `yaml:"ipxe" default:"{\"00:09\": \"ipxe/ipxe-snponly-x86_64.efi\",\"00:00\": \"ipxe/undionly.kpxe\",\"00:0B\": \"ipxe/arm64-efi/snponly.efi\",\"00:07\": \"ipxe/ipxe-snponly-x86_64.efi\"}"` + IpxeBinaries map[string]string `yaml:"ipxe" default:"{\"00:09\": \"ipxe-snponly-x86_64.efi\",\"00:00\": \"undionly.kpxe\",\"00:0B\": \"arm64-efi/snponly.efi\",\"00:07\": \"ipxe-snponly-x86_64.efi\"}"` }