diff options
Diffstat (limited to 'ubuntu-16.04-amd64.json')
-rw-r--r-- | ubuntu-16.04-amd64.json | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ubuntu-16.04-amd64.json b/ubuntu-16.04-amd64.json index 79276fa..67842ed 100644 --- a/ubuntu-16.04-amd64.json +++ b/ubuntu-16.04-amd64.json @@ -3,7 +3,7 @@ "iso_url": "http://releases.ubuntu.com/16.04/ubuntu-16.04.2-server-amd64.iso", "iso_checksum": "737ae7041212c628de5751d15c3016058b0e833fdc32e7420209b76ca3d0a535", "iso_checksum_type": "sha256", - "vm_name": "ubuntu-amd64", + "vm_name": "ubuntu-16.04-amd64", "http_dir": "http", "preseed_path": "ubuntu-16.04/preseed.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": "qemu/output-ubuntu-amd64-{{ build_type }}-{{ timestamp }}", + "output_directory": "{{ build_type }}", "vm_name": "{{ user `vm_name` }}", "disk_size": "{{ user `disk_size` }}", "format": "qcow2", @@ -56,8 +56,8 @@ "iso_url": "{{ user `iso_url` }}", "iso_checksum": "{{ user `iso_checksum` }}", "iso_checksum_type": "{{ user `iso_checksum_type` }}", - "output_directory": "output-ubuntu-amd64-{{ build_type }}-{{ timestamp }}", - "vm_name": "packer-ubuntu-amd64", + "output_directory": "{{ build_type }}", + "vm_name": "{{ user `vm_name` }}", "disk_size": "{{ user `disk_size` }}", "headless": "{{ user `headless` }}", "http_directory": "{{ user `http_dir` }}", @@ -97,8 +97,8 @@ "iso_url": "{{ user `iso_url` }}", "iso_checksum": "{{ user `iso_checksum` }}", "iso_checksum_type": "{{ user `iso_checksum_type` }}", - "output_directory": "output-ubuntu-amd64-{{ build_type }}-{{ timestamp }}", - "vm_name": "packer-ubuntu-amd64", + "output_directory": "{{ build_type }}", + "vm_name": "{{ user `vm_name` }}", "disk_size": "{{ user `disk_size` }}", "headless": "{{ user `headless` }}", "http_directory": "{{ user `http_dir` }}", @@ -135,6 +135,6 @@ }], "post-processors": [{ "type": "manifest", - "output": "manifest.json" + "output": "{{ build_type }}/manifest.json" }] } |