builder/vmware: populate files properly in artifact [GH-63]
This commit is contained in:
parent
014ed0e507
commit
958502bbdc
|
@ -5,6 +5,8 @@ BUG FIXES:
|
|||
* amazon-ebs: Sleep between checking instance state to avoid
|
||||
RequestLimitExceeded [GH-50]
|
||||
* vagrant: Rename VirtualBox ovf to "box.ovf" [GH-64]
|
||||
* vmware: Properly populate files in artifact so that the Vagrant
|
||||
post-processor works. [GH-63]
|
||||
|
||||
## 0.1.1 (June 28, 2013)
|
||||
|
||||
|
|
|
@ -263,7 +263,10 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe
|
|||
// Compile the artifact list
|
||||
files := make([]string, 0, 10)
|
||||
visit := func(path string, info os.FileInfo, err error) error {
|
||||
files = append(files, path)
|
||||
if !info.IsDir() {
|
||||
files = append(files, path)
|
||||
}
|
||||
|
||||
return err
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue