Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Remove VM on failed unarchive #121

Open
bmeck opened this Issue · 1 comment

2 participants

Bradley Meck Greg Thornton
Bradley Meck
git@refs/heads/master bradleymeck ievms>./ievms.sh 
Checking for VirtualBox
Checking for Oracle VM VirtualBox Extension Pack
Pack no. 0:   Oracle VM VirtualBox Extension Pack
Downloading unar from http://theunarchiver.googlecode.com/files/unar1.5.zip to /Users/bradleymeck/.ievms/unar1.5.zip
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 4201k  100 4201k    0     0  2319k      0  0:00:01  0:00:01 --:--:-- 3152k
Archive:  unar1.5.zip
  inflating: lsar                    
  inflating: unar                    
Building IE6 VM
Checking for existing OVA at /Users/bradleymeck/.ievms/IE6 - WinXP.ova
Downloading OVA ZIP from http://virtualization.modern.ie/vhd/IEKitV1_Final/VirtualBox/OSX/IE6_WinXP.zip to /Users/bradleymeck/.ievms/IE6_WinXP.zip
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  716M  100  716M    0     0  2413k      0  0:05:04  0:05:04 --:--:-- 2471k
Extracting OVA from /Users/bradleymeck/.ievms/IE6_WinXP.zip
IE6_WinXP.zip: Zip
  IE6 - WinXP.ova  (759386624 B)... Failed! (Wrong checksum)
Extraction to current directory failed! (1 file failed.)

Failed but next run tries to use the image anyway.

git@refs/heads/master bradleymeck ievms>CURL_OPTS="--limit-rate 50k" ./ievms.sh 
Checking for VirtualBox
Checking for Oracle VM VirtualBox Extension Pack
Pack no. 0:   Oracle VM VirtualBox Extension Pack
Building IE6 VM
Checking for existing OVA at /Users/bradleymeck/.ievms/IE6 - WinXP.ova
Checking for existing IE6 - WinXP VM
Creating IE6 - WinXP VM (disk: /Users/bradleymeck/.ievms/IE6 - WinXP-disk1.vmdk)
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Interpreting /Users/bradleymeck/.ievms/IE6 - WinXP.ova...
OK.
Disks:  vmdisk1 136260878336    -1  http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized   IE6 - WinXP-disk1.vmdk  -1  -1  
Virtual system 0:
 0: Suggested OS type: "WindowsXP"
Greg Thornton
Owner

I was under the impression unar will remove failed extracted files. I'll double check and see what I can do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.