terraform: add libvirt cloud VM provisioning

This commit is contained in:
ahp
2026-10-18 16:42:30 +03:30
parent 3db2ca87cc
commit 0c8f857e30
5 changed files with 226 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
#cloud-config
hostname: ${hostname}
manage_etc_hosts: true
disable_root: true
ssh_pwauth: false
users:
- name: arch
groups: [wheel]
sudo: ["ALL=(ALL) NOPASSWD: ALL"]
shell: /bin/bash
lock_passwd: true
ssh_authorized_keys:
- ${ssh_public_key}