This is not perfect, but it's a good start, and it shows how a module might be structured.
20 lines
452 B
Cheetah
20 lines
452 B
Cheetah
{{/* newline for host spacing */}}
|
|
# host: {{ .name }}
|
|
host {{ .name }} {
|
|
hardware ethernet {{ .macaddress }};
|
|
fixed-address {{ .valid_fixedaddress }};
|
|
{{- if .hostname }}
|
|
option host-name "{{ .hostname }}";
|
|
{{ end -}}
|
|
{{- if .nextserver }}
|
|
next-server {{ .nextserver }};
|
|
{{ end -}}
|
|
{{- if .filename }}
|
|
filename "{{ .filename }}";
|
|
{{ end -}}
|
|
{{- if .veo }}
|
|
filename "{{ .filename }}";
|
|
option vendor-encapsulated-options {{ .veo }};
|
|
{{ end -}}
|
|
}
|