From a937d9a311b7d65779874e7f3c1ec618d510ef42 Mon Sep 17 00:00:00 2001 From: Gregory Kurtzer Date: Fri, 23 Apr 2021 20:49:29 -0700 Subject: [PATCH] Dropped the arm64.efi file to the file system --- internal/app/wwctl/configure/tftp/main.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/internal/app/wwctl/configure/tftp/main.go b/internal/app/wwctl/configure/tftp/main.go index 83219f14..a14f595a 100644 --- a/internal/app/wwctl/configure/tftp/main.go +++ b/internal/app/wwctl/configure/tftp/main.go @@ -61,6 +61,11 @@ func Configure(show bool) error { wwlog.Printf(wwlog.ERROR, "%s\n", err) os.Exit(1) } + err = staticfiles.WriteData("files/tftp/arm64.efi", path.Join(controller.Tftp.TftpRoot, "warewulf/arm64.efi")) + if err != nil { + wwlog.Printf(wwlog.ERROR, "%s\n", err) + os.Exit(1) + } fmt.Printf("Enabling and restarting the TFTP services\n") err = util.SystemdStart(controller.Tftp.SystemdName)