libvirt-haproxy.json (1683B)
1 { 2 "variables": { 3 "manifest": "manifest.json", 4 "buildname": "haproxy" 5 }, 6 "builders": 7 [ 8 { 9 "type": "qemu", 10 "iso_url": "https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-10.9.0-amd64-netinst.iso", 11 "iso_checksum": "file:https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/SHA256SUMS", 12 "output_directory": "{{user `buildname`}}", 13 "shutdown_command": "echo 'debian' | sudo -S shutdown -P now", 14 "disk_size": "14000", 15 "memory": "1024", 16 "format": "qcow2", 17 "accelerator": "kvm", 18 "http_directory": "config", 19 "ssh_username": "debian", 20 "ssh_password": "debian", 21 "ssh_timeout": "15m", 22 "vm_name": "{{user `buildname`}}.qcow2", 23 "net_device": "virtio-net", 24 "disk_interface": "virtio", 25 "boot_wait": "5s", 26 "boot_command": [ 27 "<esc><wait>", 28 "install <wait>", 29 " preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg <wait>", 30 "debian-installer=en_US.UTF-8 <wait>", 31 "auto <wait>", 32 "locale=en_US.UTF-8 <wait>", 33 "kbd-chooser/method=us <wait>", 34 "keyboard-configuration/xkb-keymap=us <wait>", 35 "netcfg/get_hostname={{ .Name }} <wait>", 36 "netcfg/get_domain=libvirt <wait>", 37 "fb=false <wait>", 38 "debconf/frontend=noninteractive <wait>", 39 "console-setup/ask_detect=false <wait>", 40 "console-keymaps-at/keymap=us <wait>", 41 "grub-installer/bootdev=/dev/sda <wait>", 42 "<enter><wait>" 43 ] 44 } 45 ], 46 "provisioners": [ 47 { 48 "type": "shell", 49 "script": "scripts/haproxy-okd.sh", 50 "environment_vars": [ 51 ] 52 } 53 ] 54 }