version tagging
Some checks failed
Build & Upload NixOS Proxmox Image / Build NixOS Base Image (push) Failing after 1m15s
Build & Upload NixOS Proxmox Image / Release Image (push) Has been skipped

This commit is contained in:
plasmagoat 2025-06-09 22:36:24 +02:00
parent e75941094f
commit 1f1d07644f
6 changed files with 41 additions and 59 deletions

View file

@ -31,7 +31,7 @@
- name: Restore VM from image to 'latest' template VMID
ansible.builtin.shell: |
qmrestore {{ remote_image_path }} {{ vmid_latest_template }} --unique true --storage {{ storage_name }}
qm set {{ vmid_latest_template }} --cores {{ cpu_cores }} --memory {{ memory_mb }} --name {{ vmname_latest_template }}
qm set {{ vmid_latest_template }} --cores {{ cpu_cores }} --memory {{ memory_mb }} --name {{ vmname_latest_template }} --tag {{ template_version }}
qm template {{ vmid_latest_template }}
register: restore_new_latest_result
changed_when: restore_new_latest_result.rc == 0