new robot suite which will measure a time to setup flows using rpcs
[integration.git] / packaging / packer / centos.json
1 {
2   "variables": {
3     "box_version": null
4   },
5   "builders": [
6     {
7       "type": "virtualbox-iso",
8       "guest_os_type": "RedHat_64",
9       "iso_urls":
10         [
11           "http://mirrors.seas.harvard.edu/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1503-01.iso",
12           "http://bay.uchicago.edu/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1503-01.iso",
13           "http://mirror.vcu.edu/pub/gnu+linux/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1503-01.iso",
14           "http://mirror.vtti.vt.edu/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1503-01.iso",
15           "http://mirror.clarkson.edu/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1503-01.iso"
16         ],
17       "iso_checksum": "7cf1ac8da13f54d6be41e3ccf228dc5bb35792f515642755ff4780d5714d4278",
18       "iso_checksum_type": "sha256",
19       "headless": "false",
20       "ssh_username": "vagrant",
21       "ssh_password": "vagrant",
22       "shutdown_command": "sudo shutdown -P now",
23       "http_directory": ".",
24       "boot_command": [
25         "<tab>text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/centos_kickstart.cfg<enter>"
26       ],
27       "vboxmanage": [
28         [
29           "modifyvm",
30           "{{ .Name }}",
31           "--memory",
32           "1024"
33         ],
34         [
35           "modifyvm",
36           "{{ .Name }}",
37           "--cpus",
38           "2"
39         ]
40       ]
41     }
42   ],
43   "provisioners": [
44     {
45       "type": "shell",
46       "scripts":
47         [
48           "config_vagrant.sh",
49           "config_virtualbox.sh",
50           "config_ansible.sh"
51         ]
52     },
53     {
54       "type": "ansible-local",
55       "playbook_file": "install_odl.yml"
56     }
57   ],
58   "post-processors": [
59     {
60       "type": "vagrant",
61       "compression_level": "9",
62       "output": "opendaylight-{{ user `box_version` }}-centos-1503.box"
63     }
64   ]
65 }