c12s-kubespray/contrib/terraform/hetzner/modules/kubernetes-cluster/templates/cloud-init.tmpl
2021-10-07 10:11:46 -07:00

18 lines
325 B
Cheetah

#cloud-config
users:
- default
- name: ubuntu
shell: /bin/bash
sudo: "ALL=(ALL) NOPASSWD:ALL"
ssh_authorized_keys:
%{ for ssh_public_key in ssh_public_keys ~}
- ${ssh_public_key}
%{ endfor ~}
ssh_authorized_keys:
%{ for ssh_public_key in ssh_public_keys ~}
- ${ssh_public_key}
%{ endfor ~}