Skip to content

Instantly share code, notes, and snippets.

@amontalban
Created January 26, 2018 18:53
Show Gist options
  • Save amontalban/56034df2858c8d269bec5eb9e131ac18 to your computer and use it in GitHub Desktop.
Save amontalban/56034df2858c8d269bec5eb9e131ac18 to your computer and use it in GitHub Desktop.
Template
Available: true
Contents: |
# api_url={{.RenderData.ApiURL}}
# token={{.RenderData.GenerateToken}}
DEFAULT {{.Env.Name}}
PROMPT 0
TIMEOUT 10
LABEL {{.Env.Name}}
KERNEL {{if eq .Env.Kernel "memdisk"}} memdisk {{else}} {{.Env.PathFor "tftp" .Env.Kernel}} {{end}}
{{if .Env.Initrds}}
INITRD {{.Env.JoinInitrds "tftp"}}
{{end}}
APPEND {{.BootParams}}
IPAPPEND 2
Description: ""
Errors: []
ID: default-pxelinux-memdisk.tmpl
Meta: {}
ReadOnly: true
Validated: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment