Compare commits

...

2 Commits

Author SHA1 Message Date
Prémel-Cabic Arnaud
9af820f932 feat: add build.sh script 2024-05-09 02:45:01 +02:00
Prémel-Cabic Arnaud
4b05e2f8c9 feat: construct template in packer pool 2024-05-09 02:44:48 +02:00
2 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,4 @@
#!/bin/bash
# uncomment for debug log
# export PACKER_LOG=1
packer build -on-error=cleanup -var-file=customdebian12.pkrvars.hcl debian12.pkr.hcl

View File

@ -76,6 +76,7 @@ source "proxmox-iso" "debian12" {
username = "${var.proxmox_api_token_id}"
vm_id = 99998
vm_name = local.vm_name
pool = "packer"
efi_config {
efi_storage_pool = "${local.storage_pool}"