Files
matchbox/examples/ignition/ssh.yaml
2016-02-24 14:01:05 -08:00

12 lines
215 B
YAML

---
ignition_version: 1
{{ if .ssh_authorized_keys }}
passwd:
users:
- name: core
ssh_authorized_keys:
{{ range $element := .ssh_authorized_keys }}
- {{$element}}
{{end}}
{{end}}