Add user variables to template processor
This commit is contained in:
parent
6180bd1ca5
commit
783eee0a39
@ -86,10 +86,10 @@ func (self *Builder) Prepare(raws ...interface{}) (params []string, retErr error
|
||||
}
|
||||
|
||||
self.config.tpl, err = packer.NewConfigTemplate()
|
||||
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
self.config.tpl.UserVars = self.config.PackerUserVars
|
||||
|
||||
// Set default vaules
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user