workflow update

This commit is contained in:
CC
2026-06-15 22:29:26 +01:00
parent 8e7307044d
commit 0abfcaef90
4 changed files with 17 additions and 10 deletions

View File

@@ -1,10 +1,3 @@
locals {
selected_instance = one([
for cfg in var.instance_configs :
cfg if cfg.crispy_name == var.node_name
])
}
resource "proxmox_virtual_environment_file" "cloud_config" {
content_type = "snippets"
datastore_id = "local"
@@ -31,7 +24,7 @@ resource "proxmox_virtual_environment_file" "cloud_config" {
- docker
shell: /bin/bash
ssh-authorized-keys:
- "${var.vm_user_sshkey}" # Inject user's SSH key
- "${var.vm_user_sshkey}" # +++ Needs to be put into a variable injected by git actions secrets
sudo: ALL=(ALL) NOPASSWD:ALL
packages:
@@ -42,6 +35,7 @@ resource "proxmox_virtual_environment_file" "cloud_config" {
- gnupg
- lsb-release
- unattended-upgrades
- rsync
runcmd:
- systemctl enable qemu-guest-agent