local-server/cmd/dkl-local-server/ipxe.go
Mikaël Cluseau 26b6efd54c wip
2018-12-10 21:59:24 +11:00

14 lines
212 B
Go

package main
import (
"io"
"log"
)
func renderIPXE(out io.Writer, ctx *renderContext) error {
log.Printf("sending IPXE code for %q", ctx.Host.Name)
_, err := out.Write([]byte(ctx.Host.IPXE))
return err
}