aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/disk-image-builder/centos/listmaker/centos-7.6-1810.json
diff options
context:
space:
mode:
Diffstat (limited to 'resources/tools/disk-image-builder/centos/listmaker/centos-7.6-1810.json')
-rw-r--r--resources/tools/disk-image-builder/centos/listmaker/centos-7.6-1810.json48
1 files changed, 48 insertions, 0 deletions
diff --git a/resources/tools/disk-image-builder/centos/listmaker/centos-7.6-1810.json b/resources/tools/disk-image-builder/centos/listmaker/centos-7.6-1810.json
new file mode 100644
index 0000000000..450e678fa5
--- /dev/null
+++ b/resources/tools/disk-image-builder/centos/listmaker/centos-7.6-1810.json
@@ -0,0 +1,48 @@
+{
+ "_c": "Centos7 ISO URL at the time of creation of this file (4/2019)",
+ "_c": "was https://mirror.math.princeton.edu/pub/centos/7.6.1810/isos/x86_64/CentOS-7-x86_64-Minimal-1810.iso.",
+ "_c": "",
+ "variables": {
+ "release": null,
+ "outputdir": null,
+ "atlas_token": "{{env `ATLAS_TOKEN`}}",
+ "virl_user": "{{env `VIRL_USER`}}",
+ "virl_password": "{{env `VIRL_PASSWORD`}}"
+ },
+ "builders": [
+ {
+ "name": "{{user `release`}}",
+ "type": "qemu",
+ "iso_url": "https://mirror.math.princeton.edu/pub/centos/7.6.1810/isos/x86_64/CentOS-7-x86_64-Minimal-1810.iso",
+ "iso_checksum": "5833cb3189a61c02abf50fb8c2db16cfa669bc3c",
+ "iso_checksum_type": "sha1",
+ "output_directory": "{{user `outputdir`}}",
+ "ssh_username": "root",
+ "ssh_password": "csit",
+ "ssh_wait_timeout": "30m",
+ "disk_size": "16384",
+ "shutdown_command": "shutdown -P now",
+ "http_directory": "html",
+ "iso_target_path" : "build/CentOS-7-x86_64-Minimal-1810.iso",
+ "headless": "true",
+ "boot_command":
+ [
+ "<tab> text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/ks.cfg<enter><wait>"
+ ]
+ }
+ ],
+ "post-processors": [
+ {
+ "type": "shell-local",
+ "script": "scripts-local/upload-image-to-virl.sh",
+ "keep_input_artifact": true,
+ "environment_vars":
+ [
+ "VIRL_USER={{user `virl_user`}}",
+ "VIRL_PASSWORD={{user `virl_password`}}",
+ "VIRL_IMAGE_SUBTYPE=server",
+ "VIRL_IMAGE_NAME={{user `release`}}"
+ ]
+ }
+ ]
+}