Merge pull request #777 from mitchellh/docker-user-vars

builder/docker: include user vars for docker configuration
This commit is contained in:
Mitchell Hashimoto 2014-01-02 15:14:15 -08:00
commit 173f63a336
1 changed files with 2 additions and 0 deletions

View File

@ -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{