From 8458b60b24797ad0b0abe353c20452bee8b6badf Mon Sep 17 00:00:00 2001 From: Nye Liu Date: Thu, 2 Aug 2018 12:29:17 -0700 Subject: [PATCH 1/2] Document the `config` option to the lxd builder. --- website/source/docs/builders/lxd.html.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/website/source/docs/builders/lxd.html.md b/website/source/docs/builders/lxd.html.md index 4f8cf9c84..19e64375f 100644 --- a/website/source/docs/builders/lxd.html.md +++ b/website/source/docs/builders/lxd.html.md @@ -71,3 +71,5 @@ Below is a fully functioning example. 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. + + - `config` (map) - List of key/value pairs you wish to pass to `lxc launch` via `--config`. Defaults to empty. From 80bd3b99d099a298605a2f91a459dfdb54b81373 Mon Sep 17 00:00:00 2001 From: Nye Liu Date: Thu, 2 Aug 2018 20:05:42 +0000 Subject: [PATCH 2/2] Fix typo, cosmetic whitespace --- website/source/docs/builders/lxd.html.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/website/source/docs/builders/lxd.html.md b/website/source/docs/builders/lxd.html.md index 19e64375f..94423c063 100644 --- a/website/source/docs/builders/lxd.html.md +++ b/website/source/docs/builders/lxd.html.md @@ -66,10 +66,11 @@ Below is a fully functioning example. - `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 +- `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. - - `config` (map) - List of key/value pairs you wish to pass to `lxc launch` via `--config`. Defaults to empty. +- `launch_config` (map[string]string) - List of key/value pairs you wish to + pass to `lxc launch` via `--config`. Defaults to empty.