Add tofu files

This commit is contained in:
Evrard Van Espen
2025-11-23 11:22:21 +00:00
parent 0e55da940e
commit 8fc60f9d8b
2 changed files with 166 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
#cloud-config
users:
- name: kubeadmin
gecos: kubeadmin
sudo: ALL=(ALL) NOPASSWD:ALL
groups: wheel, root
lock_passwd: false
ssh_authorized_keys:
- ${ssh_public_key}
passwd: "${kubeadmin_password_hash}"
packages:
- openssh-server
runcmd:
- systemctl enable --now sshd
- systemctl restart sshd
- [touch, /tmp/cloud-init-complete]