minor fixes for shell provisioner docs and logging

This commit is contained in:
Megan Marsh 2018-08-30 14:36:14 -07:00
parent 9926988ab7
commit 266a48a73a
2 changed files with 2 additions and 2 deletions

View File

@ -271,7 +271,7 @@ func (p *Provisioner) Provision(ui packer.Ui, comm packer.Communicator) error {
}
if err := comm.Start(cmd); err != nil {
return fmt.Errorf(
"Error chmodding script file to 0755 in remote "+
"Error chmodding script file to 0600 in remote "+
"machine: %s", err)
}
cmd.Wait()

View File

@ -70,7 +70,7 @@ Optional parameters:
declaring them inline in our execute_command. The default `execute_command`
will be `chmod +x {{.Path}}; . {{.EnvVarFile}} && {{.Path}}`. This option is
unnecessary for most cases, but if you have extra quoting in your custom
`execute_command`, then this may be neccecary for proper script execution.
`execute_command`, then this may be unnecessary for proper script execution.
Default: false.
- `execute_command` (string) - The command to use to execute the script. By