-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: failed to unpack image...: error unpacking golden image... #147
Comments
Hi! Have you checked the image you are using? |
Hi! Before checking and running, you deleted the already unpacked %virtualbox .box file in a directory %virtualbox (by default it is located in "C:\Users\1.terraform\virtualbox\gold")? Because if it is already unpacked, then it is not unpacked again.
This is a fairly common problem (appears for users on different computers). |
Got it. I've reproduced the bug with the couple of different images. |
It is failed in GitBash but it works for me if I run in PowerShell. tar (GNU tar) 1.34 PowerShell tar version PS C:\Users\ess\.terraform\virtualbox\machine\asd> tar --version |
terraform-provider-virtualbox/virtualbox/image.go
Line 60 in c25ac4f
When run from Windows using gitBash instead of cmd gives the error "Error: failed to unpack image...: error unpacking golden image...: exit status 2". The problem is related to the key difference for "tar" when run from cmd or gitBash.
The text was updated successfully, but these errors were encountered: