From dc2de921c387edf0c215b33109f0b6a255f753fd Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Tue, 11 Apr 2017 18:46:54 +0200 Subject: introduce Makefile to simplify building templates updated ubuntu/centos templates to fixed output names, moved manifest.json to builder's subfolder, updated README.md to reflect the changes --- centos-7.3-x86_64.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'centos-7.3-x86_64.json') diff --git a/centos-7.3-x86_64.json b/centos-7.3-x86_64.json index 7248dd0..34176c2 100644 --- a/centos-7.3-x86_64.json +++ b/centos-7.3-x86_64.json @@ -3,7 +3,7 @@ "iso_url": "http://mirrors.kernel.org/centos/7/isos/x86_64/CentOS-7-x86_64-NetInstall-1611.iso", "iso_checksum": "f2f7367deb90a25822947660c71638333ca0eceeabecc2d631be6cd508c24494", "iso_checksum_type": "sha256", - "vm_name": "packer-centos-x86_64", + "vm_name": "centos-7.3-x86_64", "http_dir": "http", "kickstart_path": "centos-7.3/anaconda-ks.cfg", "shutdown_command": "systemctl poweroff", @@ -14,7 +14,7 @@ "iso_url": "{{ user `iso_url` }}", "iso_checksum": "{{ user `iso_checksum` }}", "iso_checksum_type": "{{ user `iso_checksum_type` }}", - "output_directory": "output-centos-x86_64-{{ build_type }}-{{ timestamp }}", + "output_directory": "{{ build_type }}", "vm_name": "{{ user `vm_name` }}", "format": "qcow2", "disk_size": "{{ user `disk_size` }}", @@ -43,7 +43,7 @@ "iso_url": "{{ user `iso_url` }}", "iso_checksum": "{{ user `iso_checksum` }}", "iso_checksum_type": "{{ user `iso_checksum_type` }}", - "output_directory": "output-centos-x86_64-{{ build_type }}-{{ timestamp }}", + "output_directory": "{{ build_type }}", "vm_name": "{{ user `vm_name` }}", "disk_size": "{{ user `disk_size` }}", "headless": "{{ user `headless` }}", @@ -70,7 +70,7 @@ "iso_url": "{{ user `iso_url` }}", "iso_checksum": "{{ user `iso_checksum` }}", "iso_checksum_type": "{{ user `iso_checksum_type` }}", - "output_directory": "output-centos-x86_64-{{ build_type }}-{{ timestamp }}", + "output_directory": "{{ build_type }}", "vm_name": "{{ user `vm_name` }}", "disk_size": "{{ user `disk_size` }}", "headless": "{{ user `headless` }}", @@ -94,6 +94,6 @@ }], "post-processors": [{ "type": "manifest", - "output": "manifest.json" + "output": "{{ build_type }}/manifest.json" }] } -- cgit v1.2.3-55-g7522