Commit 21107b00 authored by Gonzalo Peci's avatar Gonzalo Peci

Fix wrong command type being used when running elevated provisioner.

parent c73314cd
......@@ -399,7 +399,7 @@ func (p *Provisioner) createCommandText() (command string, err error) {
Vars: flattenedEnvVars,
Path: p.config.RemotePath,
}
command, err = interpolate.Render(p.config.ExecuteCommand, &p.config.ctx)
command, err = interpolate.Render(p.config.ElevatedExecuteCommand, &p.config.ctx)
if err != nil {
return "", fmt.Errorf("Error processing command: %s", err)
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment