fix go source formatting
add description to documentation page
This commit is contained in:
parent
1155347b55
commit
fe341e2bd0
|
@ -76,9 +76,9 @@ var diskDiscard = map[string]bool{
|
||||||
}
|
}
|
||||||
|
|
||||||
var diskDZeroes = map[string]bool{
|
var diskDZeroes = map[string]bool{
|
||||||
"unmap": true,
|
"unmap": true,
|
||||||
"on": true,
|
"on": true,
|
||||||
"off": true,
|
"off": true,
|
||||||
}
|
}
|
||||||
|
|
||||||
type Builder struct {
|
type Builder struct {
|
||||||
|
|
|
@ -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
|
- `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`.
|
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
|
- `disk_image` (boolean) - Packer defaults to building from an ISO file, this
|
||||||
parameter controls whether the ISO URL supplied is actually a bootable
|
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
|
QEMU image. When this value is set to `true`, the machine will either clone
|
||||||
|
|
Loading…
Reference in New Issue