From 76f0176f5e39a85d26e3a1870a921237e09215ed Mon Sep 17 00:00:00 2001 From: Chris Lundquist Date: Wed, 18 Oct 2017 05:05:46 +0000 Subject: [PATCH] [lxd] add docs on publish properties --- website/source/docs/builders/lxd.html.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/website/source/docs/builders/lxd.html.md b/website/source/docs/builders/lxd.html.md index 56dca60c2..4915e1e28 100644 --- a/website/source/docs/builders/lxd.html.md +++ b/website/source/docs/builders/lxd.html.md @@ -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.