Commit 78174dae authored by Chris Bednarski's avatar Chris Bednarski

Don't override packer's build version from a config file; fixes #2385

parent da20c364
...@@ -43,7 +43,6 @@ func (m *Meta) Core(tpl *template.Template) (*packer.Core, error) { ...@@ -43,7 +43,6 @@ func (m *Meta) Core(tpl *template.Template) (*packer.Core, error) {
config := *m.CoreConfig config := *m.CoreConfig
config.Template = tpl config.Template = tpl
config.Variables = m.flagVars config.Variables = m.flagVars
config.Version = m.Version
// Init the core // Init the core
core, err := packer.NewCore(&config) core, err := packer.NewCore(&config)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment