Dropped the arm64.efi file to the file system

This commit is contained in:
Gregory Kurtzer
2021-04-23 20:49:29 -07:00
parent 7f26ab646e
commit a937d9a311

View File

@@ -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)