From 4fcf0d6d5b9d303fa103e5fbcbefe62ee23d23ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Recai=20Okta=C5=9F?= Date: Sat, 19 Oct 2013 01:39:12 +0300 Subject: [PATCH] post-processor/vagrant: fix bug in ova support caused by wrong file path --- post-processor/vagrant/virtualbox.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/post-processor/vagrant/virtualbox.go b/post-processor/vagrant/virtualbox.go index 7c77e7ec7..984eb6948 100644 --- a/post-processor/vagrant/virtualbox.go +++ b/post-processor/vagrant/virtualbox.go @@ -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 {