Add Centos 7 image to CSIT.
[csit.git] / resources / tools / disk-image-builder / centos / listmaker / centos-7-1511.json
1 {
2   "_c": "Centos7 ISO URL at the time of creation of this file (05/2016)",
3   "_c": "was http://centos.mirrors.hoobly.com/7/isos/x86_64/CentOS-7-x86_64-Minimal-1511.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.mirrors.hoobly.com/7/isos/x86_64/CentOS-7-x86_64-Minimal-1511.iso",
17       "iso_checksum": "88c0437f0a14c6e2c94426df9d43cd67",
18       "iso_checksum_type": "md5",
19       "output_directory": "{{user `outputdir`}}",
20       "ssh_username": "root",
21       "ssh_password": "csit",
22       "ssh_wait_timeout": "60m",
23       "disk_size": "16384",
24       "shutdown_command": "shutdown -P now",
25       "http_directory": "html",
26       "iso_target_path" : "build/centos-7-1511.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 }