Merge pull request #777 from mitchellh/docker-user-vars
builder/docker: include user vars for docker configuration
This commit is contained in:
commit
173f63a336
|
@ -29,6 +29,8 @@ func NewConfig(raws ...interface{}) (*Config, []string, error) {
|
||||||
return nil, nil, err
|
return nil, nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
c.tpl.UserVars = c.PackerUserVars
|
||||||
|
|
||||||
// Defaults
|
// Defaults
|
||||||
if len(c.RunCommand) == 0 {
|
if len(c.RunCommand) == 0 {
|
||||||
c.RunCommand = []string{
|
c.RunCommand = []string{
|
||||||
|
|
Loading…
Reference in New Issue