Skip to content

Commit

Permalink
post-processor/vagrant: fix bug in ova support caused by wrong file path
Browse files Browse the repository at this point in the history
  • Loading branch information
roktas committed Oct 18, 2013
1 parent 9357c25 commit 6d6b329
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion post-processor/vagrant/virtualbox.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func (p *VBoxBoxPostProcessor) PostProcess(ui packer.Ui, artifact packer.Artifac
// directory so we can get the resulting disk and OVF.
if extension := filepath.Ext(path); extension == ".ova" {
ui.Message(fmt.Sprintf("Unpacking OVA: %s", path))
if err := DecompressOva(dir, filepath.Base(path)); err != nil {
if err := DecompressOva(dir, path); err != nil {
return nil, false, err
}
} else {
Expand Down

0 comments on commit 6d6b329

Please sign in to comment.