diff --git a/ubuntu/ubuntu-20.04-amd64.json b/ubuntu/ubuntu-20.04-amd64.json index afbbe8f..0e599c5 100644 --- a/ubuntu/ubuntu-20.04-amd64.json +++ b/ubuntu/ubuntu-20.04-amd64.json @@ -33,13 +33,19 @@ "ssh_username": "ubuntu", "type": "qemu", "vm_name": "{{ user `template` }}", - "vnc_bind_address": "0.0.0.0", + "vnc_bind_address": "{{ user `vnc_bind_address` }}", "qemuargs": [ [ "-m", "{{ user `memory` }}" ], [ "-display", "{{ user `qemu_display` }}" ] ] } ], + "post-processors": [ + { + "type": "compress", + "output": "{{.BuildName}}.gz" + } + ], "provisioners": [ { "environment_vars": [ @@ -72,14 +78,15 @@ "https_proxy": "{{env `https_proxy`}}", "iso_checksum": "28ccdb56450e643bad03bb7bcf7507ce3d8d90e8bf09e38f6bd9ac298a98eaad", "iso_name": "ubuntu-20.04.4-live-server-amd64.iso", - "memory": "1024", + "memory": "2048", "mirror": "http://releases.ubuntu.com", "mirror_directory": "focal", "name": "ubuntu-20.04-amd64", "no_proxy": "{{env `no_proxy`}}", "preseed_path": "preseed.cfg", "qemu_display": "none", - "template": "ubuntu-20.04-amd64", - "version": "TIMESTAMP" + "template": "ubuntu-20.04-amd64.img", + "version": "TIMESTAMP", + "vnc_bind_address": "127.0.0.1" } }