From ecdf59b7b9a69205b4d7c237a320708a3c808702 Mon Sep 17 00:00:00 2001 From: Rickard von Essen Date: Sat, 15 Oct 2016 14:42:36 +0200 Subject: [PATCH] Slightly reworded docs for chroot_mounts in amazon-chroot builder Closes #3081 --- website/source/docs/builders/amazon-chroot.html.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/website/source/docs/builders/amazon-chroot.html.md b/website/source/docs/builders/amazon-chroot.html.md index 8ac5cbd7d..c2e480a1f 100644 --- a/website/source/docs/builders/amazon-chroot.html.md +++ b/website/source/docs/builders/amazon-chroot.html.md @@ -97,8 +97,8 @@ each category, the available configuration keys are alphabetized. you are building. This option is required to register HVM images. Can be "paravirtual" (default) or "hvm". -- `chroot_mounts` (array of array of strings) - This is a list of additional - devices to mount into the chroot environment. This configuration parameter +- `chroot_mounts` (array of array of strings) - This is a list of devices + to mount into the chroot environment. This configuration parameter requires some additional documentation which is in the "Chroot Mounts" section below. Please read that section for more information on how to use this. @@ -188,7 +188,7 @@ Here is a basic example. It is completely valid except for the access keys: ## Chroot Mounts -The `chroot_mounts` configuration can be used to mount additional devices within +The `chroot_mounts` configuration can be used to mount specific devices within the chroot. By default, the following additional mounts are added into the chroot by Packer: @@ -200,7 +200,8 @@ chroot by Packer: These default mounts are usually good enough for anyone and are sane defaults. However, if you want to change or add the mount points, you may using the -`chroot_mounts` configuration. Here is an example configuration: +`chroot_mounts` configuration. Here is an example configuration which only +mounts `/prod` and `/dev`: ``` {.javascript} {