14 lines
212 B
Go
Raw Normal View History

2018-06-12 21:09:47 +11:00
package main
import (
"io"
"log"
)
func renderIPXE(out io.Writer, ctx *renderContext) error {
log.Printf("sending IPXE code for %q", ctx.Host.Name)
2018-12-10 21:59:24 +11:00
_, err := out.Write([]byte(ctx.Host.IPXE))
2018-06-12 21:09:47 +11:00
return err
}