mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-29 19:24:10 -04:00
[lxd] add docs on publish properties
This commit is contained in:
@@ -31,11 +31,15 @@ Below is a fully functioning example.
|
||||
"name": "lxd-xenial",
|
||||
"image": "ubuntu-daily:xenial",
|
||||
"output_image": "ubuntu-xenial"
|
||||
"publish_properties": {
|
||||
"description": "Trivial repackage with Packer"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
## Configuration Reference
|
||||
|
||||
### Required:
|
||||
@@ -56,5 +60,11 @@ Below is a fully functioning example.
|
||||
- `output_image` (string) - The name of the output artifact. Defaults to
|
||||
`name`.
|
||||
|
||||
- `command_wrapper` (string) - lets you prefix all builder commands, such as
|
||||
- `command_wrapper` (string) - Lets you prefix all builder commands, such as
|
||||
with `ssh` for a remote build host. Defaults to `""`.
|
||||
|
||||
- `publish_properties` (map[string]string) - Pass key values to the publish
|
||||
step to be set as properties on the output image. This is most helpful to
|
||||
set the description, but can be used to set anything needed.
|
||||
See https://stgraber.org/2016/03/30/lxd-2-0-image-management-512/
|
||||
for more properties.
|
||||
|
||||
Reference in New Issue
Block a user