packer-builds

Packer Builds for LXC and Libvirt
git clone https://git.in0rdr.ch/packer-builds.git
Log | Files | Refs | Pull requests |Archive | README

commit 4859a2c35769819cf13e46de8f8dd9566aff5a84
parent d087718da60c92471ada10f9648336810eed3655
Author: Andreas Gruhler <agruhl@gmx.ch>
Date:   Sat, 29 Nov 2025 16:02:13 +0100

feat: amd64 debian trixie for postgres/restic

Diffstat:
Mconfig/lxc-config | 3+++
Mpostgres-lxc.pkr.hcl | 2+-
Mrestic-lxc.pkr.hcl | 6+++---
3 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/config/lxc-config b/config/lxc-config @@ -20,6 +20,9 @@ lxc.group = onboot # /etc/fstab mount entry #lxc.mount.entry = /var/run/collectd collectd none bind,create=dir 0 0 +# Mount raid (restic) +#lxc.mount.entry = /srv/nfs host-nfs none bind,create=dir 0 0 + # Run with specific apparmor profile #lxc.apparmor.profile = lxc-gatus diff --git a/postgres-lxc.pkr.hcl b/postgres-lxc.pkr.hcl @@ -6,7 +6,7 @@ variable "manifest" { source "lxc" "postgres" { config_file = "config/lxc-config" template_name = "download" - template_parameters = ["--dist", "Debian_by_maurer", "--release", "Bookworm", "--arch", "armv7l"] + template_parameters = ["--dist", "debian", "--release", "trixie", "--arch", "amd64"] } build { diff --git a/restic-lxc.pkr.hcl b/restic-lxc.pkr.hcl @@ -13,14 +13,14 @@ variable "restic_password" { sensitive = true } -source "lxc" "restic-build" { +source "lxc" "restic" { config_file = "config/lxc-config" template_name = "download" - template_parameters = ["--dist", "Debian", "--release", "Bookworm", "--arch", "armv7l"] + template_parameters = ["--dist", "debian", "--release", "trixie", "--arch", "amd64"] } build { - sources = ["source.lxc.restic-build"] + sources = ["source.lxc.restic"] provisioner "shell" { script = "scripts/timezone.sh"