summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThiago Abdo2019-10-28 11:25:26 +0100
committerThiago Abdo2019-10-28 11:25:26 +0100
commitd085360ded6ddd31fa6c1ce8ba87cdb89c2ad2da (patch)
tree47448a39d845b7d960aca1e40c10990e4ba9b51a
parentChange compressing engine to virt-sparsify(better performance) (diff)
downloadpacker-templates-d085360ded6ddd31fa6c1ce8ba87cdb89c2ad2da.tar.gz
packer-templates-d085360ded6ddd31fa6c1ce8ba87cdb89c2ad2da.tar.xz
packer-templates-d085360ded6ddd31fa6c1ce8ba87cdb89c2ad2da.zip
Fix ubuntu json to work in packer 1.3.4
Signed-off-by: Thiago Abdo <tjabdo@inf.ufpr.br>
-rw-r--r--ubuntu-18.04-amd64.json6
1 files changed, 2 insertions, 4 deletions
diff --git a/ubuntu-18.04-amd64.json b/ubuntu-18.04-amd64.json
index d6fe644..aefe826 100644
--- a/ubuntu-18.04-amd64.json
+++ b/ubuntu-18.04-amd64.json
@@ -1,8 +1,6 @@
{
"variables": {
"iso_base_url": "http://cdimage.ubuntu.com/releases/18.04/release",
- "iso_url": "{{ user `iso_base_url` }}/ubuntu-18.04.3-server-amd64.iso",
- "iso_checksum_url": "{{ user `iso_base_url` }}/SHA256SUMS",
"iso_checksum_type": "sha256",
"vm_name": "ubuntu-18.04-amd64",
"http_dir": "http",
@@ -13,8 +11,8 @@
"builders": [{
"type": "qemu",
"accelerator": "kvm",
- "iso_url": "{{ user `iso_url` }}",
- "iso_checksum_url": "{{ user `iso_checksum_url` }}",
+ "iso_url": "{{ user `iso_base_url` }}/ubuntu-18.04.3-server-amd64.iso",
+ "iso_checksum_url": "{{ user `iso_base_url` }}/SHA256SUMS",
"iso_checksum_type": "{{ user `iso_checksum_type` }}",
"output_directory": "{{ user `output_directory` }}",
"vm_name": "{{ user `vm_name` }}",