Megan Marsh
266a48a73a
minor fixes for shell provisioner docs and logging
2018-08-30 14:36:14 -07:00
Megan Marsh
35406bbfc2
update shell provisioner docs with new use_env_var_file option and clear descriptions of quoting
2018-08-29 11:10:49 -07:00
Petr Ruzicka
7112212b2f
Adding details to PACKER_BUILD_NAME to have it clear in the documentation how the variable is created
2018-03-21 07:58:53 +01:00
Matthew Aynalem
3716effa75
docs: correct datatype inconsistencies bool => boolean (issue #5468 )
2017-10-16 09:19:59 -07:00
Megan Marsh
ae6dae2726
add quoteless option to sudo example
2017-09-27 16:02:18 -07:00
Matthew Hooker
e8c54cb496
docs: update default value for `expect_disconnect`
2017-09-14 17:49:34 -07:00
Matthew Hooker
56979a1974
Revert "Universally provide POSIX semantics for the `shell` provisioner."
...
This reverts commit 1ba7f9cc20
.
2017-06-21 16:11:47 -07:00
Matthew Hooker
bcc0d24bf4
run docs through pandoc
2017-06-14 18:13:46 -07:00
Sean Chittenden
1ba7f9cc20
Universally provide POSIX semantics for the `shell` provisioner.
...
All platforms everywhere have `env(1)` available, leverage it
accordingly.
Improves on: #2343
2017-05-20 09:28:02 -07:00
Seth Vargo
38e0ba8bd3
Fix broken links
2017-03-28 18:28:34 -04:00
Seth Vargo
6b80c21043
Revamp pages and docs to fit HashiCorp brand
2017-03-28 16:05:19 -04:00
Matthew Hooker
4dcab2fb9c
docs/provisioners/shell: safety first
...
make it harder to forget -e when overriding shebang. Closes #2873
2017-01-25 16:06:43 -08:00
Matthew Hooker
6563eb213c
Document. add to windows-shell and powershell
2017-01-17 17:07:36 -08:00
Rickard von Essen
233913bc38
Fixed misspelling of semantics
2016-11-05 13:57:57 +01:00
Matthew Hooker
892d5e82c9
expect_disconnect option
...
provisioner/shell: Adds option to fail if the remote server disconnects
us.
2016-10-21 11:39:03 -07:00
7heo
4a4d529b33
Get rid of unnecessary `-E` flag for `sudo`
...
In the "Execute Command Example - Sudo Example", the used command is
defining environment variables prematurely, hence requiring the sudo
invocation to be made with the `-E` flag. However, this is not only
necessary but might have indesirable side effects, as the `-E` flag
forwards the whole environment to the subshell.
2016-10-19 16:47:16 +02:00
evanstucker-hates-2fa
a515c35338
Update shell.html.md
...
Changing to ".javascript".
2016-10-04 09:41:56 -07:00
evanstucker-hates-2fa
cd10cef218
Update shell.html.md
...
Putting sleep after the reboot didn't work for me. It would just hang indefinitely. There's a better way, and it's "pause_before".
2016-10-04 09:19:26 -07:00
Hidekazu Tanaka
3728e076fe
Fix SSH Agent Forwarding exmaple
2016-05-18 16:04:56 -07:00
Ian Duffy
7e653370b7
Seperate remote_path into remote_folder and remote_script. ( #3462 )
...
Commonly /tmp is set as noexec, as a result packer scripts
fail to run. In order to get around this one can set a
remote_path, whoever, remote path requires full filename
and path.
By making remote_path a combination of
remote_folder/remote_script we can change remote_folder
and keep the default script_nnn.sh
Signed-off-by: Ian Duffy <ian@ianduffy.ie>
2016-04-26 16:04:29 -07:00
Chris Bednarski
1256babce3
Change .markdown to .md because it's shorter
2016-03-11 17:06:36 -08:00