Skip to content

Commit 5281740

Browse files
authored
Merge pull request #8831 from rjhornsby/master
Clarify `expect_disconnect` behavior
2 parents e35a872 + b91c4d3 commit 5281740

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

website/source/docs/provisioners/shell.html.md.erb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ The example below is fully functional.
6565
- `Vars` is the list of `environment_vars`, if configured.
6666
- `EnvVarFile` is the path to the file containing env vars, if
6767
`use_env_var_file` is true.
68-
- `expect_disconnect` (boolean) - Defaults to `false`. Whether to error if
69-
the server disconnects us. A disconnect might happen if you restart the ssh
70-
server or reboot the host.
68+
69+
- `expect_disconnect` (boolean) - Defaults to `false`. When `true`, allow the server to disconnect from Packer without throwing an error.
70+
A disconnect might happen if you restart the ssh server or reboot the host.
7171

7272
- `inline_shebang` (string) - The
7373
[shebang](https://en.wikipedia.org/wiki/Shebang_%28Unix%29) value to use

0 commit comments

Comments
 (0)