mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-28 10:44:02 -04:00
Merge pull request #181 from qur/overrides
packer: Delete "override" key for config passed to provisioners
This commit is contained in:
@@ -221,6 +221,11 @@ func ParseTemplate(data []byte) (t *Template, err error) {
|
||||
continue
|
||||
}
|
||||
|
||||
// The provisioners not only don't need or want the override settings
|
||||
// (as they are processed as part of the preparation below), but will
|
||||
// actively reject them as invalid configuration.
|
||||
delete(v, "override")
|
||||
|
||||
raw.rawConfig = v
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user