minor fixes for shell provisioner docs and logging
This commit is contained in:
parent
9926988ab7
commit
266a48a73a
|
@ -271,7 +271,7 @@ func (p *Provisioner) Provision(ui packer.Ui, comm packer.Communicator) error {
|
||||||
}
|
}
|
||||||
if err := comm.Start(cmd); err != nil {
|
if err := comm.Start(cmd); err != nil {
|
||||||
return fmt.Errorf(
|
return fmt.Errorf(
|
||||||
"Error chmodding script file to 0755 in remote "+
|
"Error chmodding script file to 0600 in remote "+
|
||||||
"machine: %s", err)
|
"machine: %s", err)
|
||||||
}
|
}
|
||||||
cmd.Wait()
|
cmd.Wait()
|
||||||
|
|
|
@ -70,7 +70,7 @@ Optional parameters:
|
||||||
declaring them inline in our execute_command. The default `execute_command`
|
declaring them inline in our execute_command. The default `execute_command`
|
||||||
will be `chmod +x {{.Path}}; . {{.EnvVarFile}} && {{.Path}}`. This option is
|
will be `chmod +x {{.Path}}; . {{.EnvVarFile}} && {{.Path}}`. This option is
|
||||||
unnecessary for most cases, but if you have extra quoting in your custom
|
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.
|
Default: false.
|
||||||
|
|
||||||
- `execute_command` (string) - The command to use to execute the script. By
|
- `execute_command` (string) - The command to use to execute the script. By
|
||||||
|
|
Loading…
Reference in New Issue