3 "ansible_roles_path": ".galaxy",
7 "cloud_user_data": null,
8 "cloud_region": "ca-ymq-1",
9 "cloud_availability_zone": "ca-ymq-2",
10 "vm_use_block_storage": "true",
11 "vm_volume_size": "20",
12 "vm_image_disk_format": "",
14 "flavor": "v2-highcpu-1",
21 "image_name": "ZZCI - {{user `distro`}} - gbp - {{user `arch`}} - {{isotime \"20060102-150405.000\"}}",
22 "instance_name": "{{user `distro`}}-gbp-{{uuid}}",
23 "source_image_name": "{{user `base_image`}}",
25 "region": "{{user `cloud_region`}}",
26 "availability_zone": "{{user `cloud_availability_zone`}}",
27 "networks": ["{{user `cloud_network`}}"],
28 "user_data_file": "{{user `cloud_user_data`}}",
29 "ssh_username": "{{user `ssh_user`}}",
30 "ssh_proxy_host": "{{user `ssh_proxy_host`}}",
31 "flavor": "{{user `flavor`}}",
35 "use_blockstorage_volume": "{{user `vm_use_block_storage`}}",
36 "volume_size": "{{user `vm_volume_size`}}",
37 "image_disk_format": "{{user `vm_image_disk_format`}}"
44 "mkdir -p /tmp/packer"
49 "source": "provision/gbp_puppet/",
50 "destination": "/tmp/packer"
55 "provision/baseline.sh",
57 "provision/system_reseal_local_env.sh",
58 "provision/system_reseal.sh"
60 "execute_command": "chmod +x {{ .Path }}; if [ \"$UID\" == \"0\" ]; then {{ .Vars }} '{{ .Path }}'; else {{ .Vars }} sudo -E '{{ .Path }}'; fi"