forked from norcams/imagebuilder
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemplate
More file actions
35 lines (35 loc) · 1 KB
/
template
File metadata and controls
35 lines (35 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
"builders": [{
"type": "openstack",
"image_name": "{{user `image_name`}}",
"source_image": "{{user `source_image`}}",
"flavor": "{{user `flavor`}}",
"networks": "{{user `network`}}",
"security_groups": "{{user `security_group`}}",
"ssh_username": "{{user `ssh_username`}}",
"ssh_keypair_name": "{{user `ssh_keypair_name`}}",
"ssh_private_key_file": "{{user `ssh_key_path`}}",
"ssh_pty": "true",
"availability_zone": "{{user `availability_zone`}}"
}],
"post-processors": [{
"type": "manifest",
"output": "{{user `manifest_path`}}"
}],
"provisioners": [{
"scripts": [
"scripts/uio-rhel.sh",
"scripts/fstrim.sh",
"scripts/qemu_guest_agent.sh",
"scripts/upgrade.sh",
"scripts/enable_ipv6.sh",
"scripts/autopatch.sh",
"scripts/report.sh",
"scripts/sshd_hardening.sh",
"{{user `provision_script`}}",
"scripts/cleanup.sh",
"scripts/uio-cleanup.sh"
],
"type": "shell"
}]
}