packer-builds

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

haproxy-lxc.json.pkr.hcl (453B)


      1 
      2 variable "manifest" {
      3   type    = string
      4   default = "manifest.json"
      5 }
      6 
      7 source "lxc" "haproxy" {
      8   config_file         = "config/lxc-config"
      9   template_name       = "download"
     10   template_parameters = ["--dist", "Debian_by_maurer", "--release", "Bookworm", "--arch", "armv7l"]
     11 }
     12 
     13 build {
     14   sources = ["source.lxc.haproxy"]
     15 
     16   provisioner "shell" {
     17     script = "scripts/timezone.sh"
     18   }
     19 
     20   provisioner "shell" {
     21     script = "scripts/haproxy.sh"
     22   }
     23 
     24 }