diff --git a/CHANGELOG.md b/CHANGELOG.md index 7ad2b1fae7e..ddf709bba77 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ BUG FIXES: * builder/amazon/instance: Make AccessKey/SecretKey available to bundle command even when they come from the environment. [GH-434] * builder/virtualbox: F1-F12 and delete scancodes now work. [GH-425] +* post-processor/vagrant: Override configurations properly work. [GH-426] * provisioner/puppet-masterless: Fix failure case when both facter vars are used and prevent_sudo. [GH-415] diff --git a/post-processor/vagrant/post-processor.go b/post-processor/vagrant/post-processor.go index 13e39a76327..ecfae80defb 100644 --- a/post-processor/vagrant/post-processor.go +++ b/post-processor/vagrant/post-processor.go @@ -77,7 +77,7 @@ func (p *PostProcessor) Configure(raws ...interface{}) error { } // Create the proper list of configurations - ppConfigs := make([]interface{}, 0, len(p.rawConfigs)+1) + ppConfigs := make([]interface{}, len(p.rawConfigs), len(p.rawConfigs)+1) copy(ppConfigs, p.rawConfigs) ppConfigs = append(ppConfigs, raw)