builder/docker: include user vars for docker configuration

This commit is contained in:
Jack Pearkes 2014-01-02 14:49:30 -08:00
parent 04f14161f5
commit 0788d96841
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{