2 "_c": "CentOS-7 ISO URL at the time of creation of this file (04/2019)",
3 "_c": "was https://mirror.math.princeton.edu/pub/centos/7.6.1810/isos/x86_64/CentOS-7-x86_64-Minimal-1810.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": "https://mirror.math.princeton.edu/pub/centos/7.6.1810/isos/x86_64/CentOS-7-x86_64-Minimal-1810.iso",
19 "iso_checksum": "5833cb3189a61c02abf50fb8c2db16cfa669bc3c",
20 "iso_checksum_type": "sha1",
21 "output_directory": "{{user `output_dir`}}",
22 "ssh_username": "root",
23 "ssh_password": "csit",
24 "ssh_wait_timeout": "30m",
26 "shutdown_command": "echo 'packer' | sudo -S /sbin/halt -h -p",
27 "http_directory": "html",
28 "iso_target_path" : "build/CentOS-7-x86_64-Minimal-1810.iso",
32 "<tab> text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/ks.cfg<enter><wait>"
36 "name": "{{user `release`}}-qemu",
38 "iso_url": "https://mirror.math.princeton.edu/pub/centos/7.6.1810/isos/x86_64/CentOS-7-x86_64-Minimal-1810.iso",
39 "iso_checksum": "5833cb3189a61c02abf50fb8c2db16cfa669bc3c",
40 "iso_checksum_type": "sha1",
41 "output_directory": "{{user `output_dir`}}",
42 "ssh_username": "root",
43 "ssh_password": "csit",
44 "ssh_wait_timeout": "30m",
46 "shutdown_command": "echo 'packer' | sudo -S /sbin/halt -h -p",
47 "http_directory": "html",
48 "iso_target_path" : "build/CentOS-7-x86_64-Minimal-1810.iso",
52 "<tab> text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/ks.cfg<enter><wait>"
59 "source": "{{ user `temp_dir`}}",
60 "destination": "/root"
64 "script": "scripts-remote/post-install.sh"
68 "only": ["{{user `release`}}-qemu"],
69 "script": "scripts-remote/serial-console-centos-7-1511.sh"
73 "only": ["{{user `release`}}-virtualbox"],
74 "script": "scripts-remote/vagrant-user.sh"
78 "only": ["{{user `release`}}-virtualbox"],
79 "script": "scripts-remote/vagrant-guestadditions.sh"
83 "script": "scripts-remote/disable_ipv6.sh"
87 "script": "scripts-remote/cleanup.sh"
93 "only": ["{{user `release`}}-virtualbox"],
94 "keep_input_artifact": true
97 "type": "shell-local",
98 "only": ["{{user `release`}}-qemu"],
99 "script": "scripts-local/upload-image-to-virl.sh",
100 "keep_input_artifact": true,
103 "VIRL_USER={{user `virl_user`}}",
104 "VIRL_PASSWORD={{user `virl_password`}}",
105 "VIRL_IMAGE_SUBTYPE=server",
106 "VIRL_IMAGE_NAME={{user `release`}}"