We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4587bf commit 66f8df3Copy full SHA for 66f8df3
packer/ubuntu-kvm.json
@@ -43,11 +43,16 @@
43
"iso_checksum": "file:{{user `mirror_url`}}/SHA256SUMS",
44
"output_directory": "{{user `output_dir`}}",
45
"shutdown_command": "echo -e \"{{user `ssh_pass`}}\\n\" | sudo -S poweroff",
46
+ "disk_cache": "unsafe",
47
"disk_compression": "true",
- "disk_size": "20G",
48
- "disk_discard": "unmap",
49
"disk_detect_zeroes": "unmap",
+ "disk_discard": "unmap",
50
+ "disk_size": "20G",
51
"format": "qcow2",
52
+ "qemu_img_args": {
53
+ "create": ["-o", "preallocation=falloc"],
54
+ "convert": ["-o", "compression_type=zstd"]
55
+ },
56
"http_directory": "http",
57
"ssh_username": "{{user `ssh_user`}}",
58
"ssh_password": "{{user `ssh_pass`}}",
0 commit comments