doc: добавление документации по созданию вм через tf

This commit is contained in:
2026-02-03 15:07:51 +03:00
parent d175ee9238
commit fa78ccf6ae
11 changed files with 420 additions and 4 deletions
+22
View File
@@ -0,0 +1,22 @@
#cloud-config
hostname: ${hostname}
package_update: true
package_upgrade: false
packages:
- curl
- git
- jq
users:
- name: ${username}
sudo: "ALL=(ALL) NOPASSWD:ALL"
groups: "sudo"
shell: /bin/bash
ssh_authorized_keys:
%{ if length(ssh_authorized_keys) > 0 ~}
%{ for key in ssh_authorized_keys ~}
- ${key}
%{ endfor ~}
%{ else ~}
[]
%{ endif ~}