diff --git a/CHANGELOG.md b/CHANGELOG.md index 000586224..5d2539247 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,8 @@ ## 0.5.2 (unreleased) +BUG FIXES: +* builders/docker: user variables work properly. [GH-777] ## 0.5.1 (01/02/2014) diff --git a/builder/docker/config.go b/builder/docker/config.go index c7fb438e4..045bf19b8 100644 --- a/builder/docker/config.go +++ b/builder/docker/config.go @@ -29,6 +29,8 @@ func NewConfig(raws ...interface{}) (*Config, []string, error) { return nil, nil, err } + c.tpl.UserVars = c.PackerUserVars + // Defaults if len(c.RunCommand) == 0 { c.RunCommand = []string{