Commit Graph

8 Commits

Author SHA1 Message Date
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