7504ca99418a2c80fe84493548efbf1c6cf50719
[csit.git] / resources / tools / disk-image-builder / centos / listmaker / centos-7.3-1611.json
1 {
2   "_c": "Centos7 ISO URL at the time of creation of this file (12/2016)",
3   "_c": "http://centos.chicago.waneq.com/7/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso",
4   "_c": "",
5   "variables": {
6     "release": null,
7     "outputdir": null,
8     "atlas_token": "{{env `ATLAS_TOKEN`}}",
9     "virl_user": "{{env `VIRL_USER`}}",
10     "virl_password": "{{env `VIRL_PASSWORD`}}"
11   },
12   "builders": [
13     {
14       "name": "{{user `release`}}",
15       "type": "qemu",
16       "iso_url": "http://centos.chicago.waneq.com/7/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso",
17       "iso_checksum": "71a7aa147877b413497cdff5b1e0aa5bc0c9484f",
18       "iso_checksum_type": "sha1",
19       "output_directory": "{{user `outputdir`}}",
20       "ssh_username": "root",
21       "ssh_password": "csit",
22       "ssh_wait_timeout": "30m",
23       "disk_size": "16384",
24       "shutdown_command": "shutdown -P now",
25       "http_directory": "html",
26       "iso_target_path" : "build/centos-7.3-1611.iso",
27       "headless": "true",
28       "boot_command":
29         [
30           "<tab> text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/ks.cfg<enter><wait>"
31         ]
32     }
33   ],
34   "post-processors": [
35     {
36       "type": "shell-local",
37       "script": "scripts-local/upload-image-to-virl.sh",
38       "keep_input_artifact": true,
39       "environment_vars":
40         [
41           "VIRL_USER={{user `virl_user`}}",
42           "VIRL_PASSWORD={{user `virl_password`}}",
43           "VIRL_IMAGE_SUBTYPE=server",
44           "VIRL_IMAGE_NAME={{user `release`}}"
45         ]
46      }
47   ]
48 }