Skip to content

Commit

Permalink
show progress bar while converting vagrant image to vermin format (ova)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhewedy committed Aug 21, 2020
1 parent b3e1f2a commit 1a3d748
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vagrant/process_image.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package vagrant

import (
"github.com/mhewedy/vermin/progress"
"io/ioutil"
"os"
"path"
Expand All @@ -10,6 +11,9 @@ import (

func ProcessImage(imagePath string) error {

stop := progress.Show("Convert Vagrant image into Vermin format", false)
defer stop()

imageDir := path.Dir(imagePath)

if err := gunzipVagrantBox(imagePath, imageDir); err != nil {
Expand Down

0 comments on commit 1a3d748

Please sign in to comment.