Commit 2e9dbb72 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

post-processor/vagrant: fix slice copy to actually work for override

[GH-426]
parent 1b1b535e
......@@ -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]
......
......@@ -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)
......
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