c12s-kubespray/contrib/terraform/hetzner/modules/kubernetes-cluster-flatcar/templates/machine.yaml.tmpl

16 lines
358 B
Cheetah
Raw Normal View History

2022-09-18 18:40:32 +00:00
---
passwd:
users:
2022-09-21 13:13:20 +00:00
- name: ${user_flatcar}
2022-09-18 18:40:32 +00:00
ssh_authorized_keys: ${ssh_keys}
storage:
files:
- path: /home/core/works
filesystem: root
mode: 0755
contents:
inline: |
#!/bin/bash
set -euo pipefail
hostname="$(hostname)"
echo My name is ${name} and the hostname is $${hostname}