commit fix

This commit is contained in:
Iurii Anfinogenov
2026-05-03 13:23:54 +00:00
parent bb4dc311c1
commit 40694927c8
7 changed files with 359 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
#cloud-config
timezone: Europe/Moscow
users:
- name: rocky
groups: [wheel]
shell: /bin/bash
lock_passwd: false
passwd: "$6$M8xzsYT0lwWjlcdH$HJRhw0rBb2WowCbqg03/WvMUlte0j5SLs9tAVCxCukEqWAt7XG0ceWYc5GRUBmRxFRTbcEDrdCVTXu5jIxN2f0"
sudo: ["ALL=(ALL) NOPASSWD:ALL"]
ssh_authorized_keys:
- ${ssh_key}
package_update: true
packages:
- qemu-guest-agent
runcmd:
- systemctl enable --now qemu-guest-agent
- hostnamectl set-hostname ${hostname}
- systemctl disable --now packagekit || true
- systemctl disable --now ModemManager || true
- systemctl disable --now multipathd || true
write_files:
- path: /etc/motd
content: |
Managed by OpenTofu
final_message: "cloud-init finished"