spelling: flattened
This commit is contained in:
parent
dc942a0d8a
commit
b545c6f87e
|
@ -203,11 +203,11 @@ func (p *Provisioner) Provision(ui packer.Ui, comm packer.Communicator) error {
|
||||||
defer f.Close()
|
defer f.Close()
|
||||||
|
|
||||||
// Create environment variables to set before executing the command
|
// Create environment variables to set before executing the command
|
||||||
flattendVars := p.createFlattenedEnvVars()
|
flattenedVars := p.createFlattenedEnvVars()
|
||||||
|
|
||||||
// Compile the command
|
// Compile the command
|
||||||
p.config.ctx.Data = &ExecuteCommandTemplate{
|
p.config.ctx.Data = &ExecuteCommandTemplate{
|
||||||
Vars: flattendVars,
|
Vars: flattenedVars,
|
||||||
Path: p.config.RemotePath,
|
Path: p.config.RemotePath,
|
||||||
}
|
}
|
||||||
command, err := interpolate.Render(p.config.ExecuteCommand, &p.config.ctx)
|
command, err := interpolate.Render(p.config.ExecuteCommand, &p.config.ctx)
|
||||||
|
|
Loading…
Reference in New Issue