diff --git a/website/source/docs/provisioners/shell.html.md b/website/source/docs/provisioners/shell.html.md index 4df9321d6..0f1ba10cb 100644 --- a/website/source/docs/provisioners/shell.html.md +++ b/website/source/docs/provisioners/shell.html.md @@ -88,8 +88,8 @@ Optional parameters: machine. By default this is remote_folder/remote_file, if set this option will override both remote_folder and remote_file. -- `skip_clean` (boolean) - If true, specifies that the helper scripts - uploaded to the system will not be removed by Packer. This defaults to +- `skip_clean` (boolean) - If true, specifies that the helper scripts + uploaded to the system will not be removed by Packer. This defaults to false (clean scripts from the system). - `start_retry_timeout` (string) - The amount of time to attempt to *start* @@ -192,9 +192,16 @@ provisioner](/docs/provisioners/file.html) (more secure) or using `ssh-keyscan` to populate the file (less secure). An example of the latter accessing github would be: -{ "type": "shell", "inline": \[ "sudo apt-get install -y git", "ssh-keyscan -github.com >> \~/.ssh/known\_hosts", "git clone -git@github.com:exampleorg/myprivaterepo.git" \] } +``` {.javascript} +{ + "type": "shell", + "inline": [ + "sudo apt-get install -y git", + "ssh-keyscan github.com >> ~/.ssh/known_hosts", + "git clone git@github.com:exampleorg/myprivaterepo.git" + ] +} +``` ## Troubleshooting