fix go source formatting

add description to documentation page
This commit is contained in:
Konstantin Shloma 2018-10-10 16:16:23 +03:00
parent 1155347b55
commit fe341e2bd0
2 changed files with 6 additions and 3 deletions

View File

@ -76,9 +76,9 @@ var diskDiscard = map[string]bool{
}
var diskDZeroes = map[string]bool{
"unmap": true,
"on": true,
"off": true,
"unmap": true,
"on": true,
"off": true,
}
type Builder struct {

View File

@ -150,6 +150,9 @@ Linux server and have not enabled X11 forwarding (`ssh -X`).
- `disk_discard` (string) - The discard mode to use for disk. Allowed values
include any of `unmap` or `ignore`. By default, this is set to `ignore`.
- `disk_detect_zeroes` (string) - The detect-zeroes mode to use for disk.
Allowed values include any of `unmap`, `on` or `off`. Defaults to `off`.
- `disk_image` (boolean) - Packer defaults to building from an ISO file, this
parameter controls whether the ISO URL supplied is actually a bootable
QEMU image. When this value is set to `true`, the machine will either clone