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

This commit is contained in:
2026-02-03 14:13:51 +03:00
parent db37cf8832
commit 6a3fc83246
19 changed files with 864 additions and 0 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 ~}