fix: add support for Proxmox snippets storage configuration and update related paths

This commit is contained in:
2025-12-06 08:08:26 +01:00
parent 6d7fc713a2
commit 15325213ab
5 changed files with 49 additions and 23 deletions

View File

@@ -32,6 +32,10 @@ bridge: vmbr0
# Proxmox storage pool for VM disks
storage: local-lvm
# Proxmox storage pool for snippets
proxmox_snippets_storage: local
proxmox_snippets_storage_path: /var/lib/vz
###############################################################################
# MAC ADDRESS GENERATION (avoids collisions)
###############################################################################
@@ -52,8 +56,8 @@ mac_address: "{{ mac_base }}:{{ mac_suffix }}"
debian_image_url: "https://cloud.debian.org/images/cloud/trixie/latest/debian-13-genericcloud-amd64.qcow2"
# Local path where image is cached
# debian_image_path: "/var/lib/vz/template/qemu/debian-genericcloud-amd64.qcow2"
debian_image_path: "/var/lib/vz/template/qemu/debian-13-genericcloud-amd64.qcow2"
# debian_image_path: "{{ proxmox_snippets_storage_path }}/template/qemu/debian-genericcloud-amd64.qcow2"
debian_image_path: "{{ proxmox_snippets_storage_path }}/template/qemu/debian-13-genericcloud-amd64.qcow2"
###############################################################################
# NETWORKING CONFIGURATION