packer-builds

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

haproxy-lxc.json (526B)


      1 {
      2   "variables": {
      3     "manifest": "manifest.json"
      4   },
      5   "builders": [
      6     {
      7       "type": "lxc",
      8       "name": "haproxy",
      9       "config_file": "config/lxc-config",
     10       "template_name": "download",
     11       "template_parameters": ["--dist", "Debian_by_maurer", "--release", "Bookworm", "--arch", "armv7l"]
     12     }
     13   ],
     14   "provisioners": [
     15     {
     16       "type": "shell",
     17       "script": "scripts/timezone.sh"
     18     },
     19     {
     20       "type": "shell",
     21       "script": "scripts/haproxy.sh",
     22       "environment_vars": [
     23       ]
     24     }
     25   ]
     26 }