#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"