Secure vnc, add compress output
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Tyler 2022-03-06 15:46:44 -05:00
parent 69d27b1be4
commit 459db18b9d
1 changed files with 11 additions and 4 deletions

View File

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