2 "_c": "CentOS-7 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 .",
9 "atlas_token": "{{env `ATLAS_TOKEN`}}",
10 "virl_user": "{{env `VIRL_USER`}}",
11 "virl_password": "{{env `VIRL_PASSWORD`}}"
15 "name": "{{user `release`}}-virtualbox",
16 "type": "virtualbox-iso",
17 "guest_os_type": "RedHat_64",
18 "iso_url": "http://centos.mirrors.hoobly.com/7/isos/x86_64/CentOS-7-x86_64-Minimal-1511.iso",
19 "iso_checksum": "88c0437f0a14c6e2c94426df9d43cd67",
20 "iso_checksum_type": "md5",
21 "output_directory": "{{user `output_dir`}}",
22 "ssh_username": "root",
23 "ssh_password": "csit",
25 "shutdown_command": "echo 'packer' | sudo -S /sbin/halt -h -p",
26 "http_directory": "html",
27 "iso_target_path" : "build/centos-7-1511.iso",
31 "<tab> text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/ks.cfg<enter><wait>"
35 "name": "{{user `release`}}-qemu",
37 "iso_url": "http://centos.mirrors.hoobly.com/7/isos/x86_64/CentOS-7-x86_64-Minimal-1511.iso",
38 "iso_checksum": "88c0437f0a14c6e2c94426df9d43cd67",
39 "iso_checksum_type": "md5",
40 "output_directory": "{{user `output_dir`}}",
41 "ssh_username": "root",
42 "ssh_password": "csit",
43 "ssh_wait_timeout": "30m",
45 "shutdown_command": "echo 'packer' | sudo -S /sbin/halt -h -p",
46 "http_directory": "html",
47 "iso_target_path" : "build/centos-7-1511.iso",
51 "<tab> text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/ks.cfg<enter><wait>"
58 "source": "{{ user `temp_dir`}}",
59 "destination": "/root"
63 "script": "scripts-remote/post-install.sh"
67 "only": ["{{user `release`}}-qemu"],
68 "script": "scripts-remote/serial-console-centos-7-1511.sh"
72 "only": ["{{user `release`}}-virtualbox"],
73 "script": "scripts-remote/vagrant-user.sh"
77 "only": ["{{user `release`}}-virtualbox"],
78 "script": "scripts-remote/vagrant-guestadditions.sh"
82 "script": "scripts-remote/cleanup.sh"
88 "only": ["{{user `release`}}-virtualbox"],
89 "keep_input_artifact": true
92 "type": "shell-local",
93 "only": ["{{user `release`}}-qemu"],
94 "script": "scripts-local/upload-image-to-virl.sh",
95 "keep_input_artifact": true,
98 "VIRL_USER={{user `virl_user`}}",
99 "VIRL_PASSWORD={{user `virl_password`}}",
100 "VIRL_IMAGE_SUBTYPE=server",
101 "VIRL_IMAGE_NAME={{user `release`}}"