mechboxes / mech

Easy command line virtual machines for VMWare
https://mechboxes.github.io/mech/
MIT License
311 stars 49 forks source link

Xubuntu 18.04: mech box add fails to extract .vmx file #41

Closed jal2 closed 6 years ago

jal2 commented 6 years ago

Under Xubuntu 18.04, the command mech box add fails to extract the .vmx file from the tar, although there is such a file present:

joerg@X240:~$ mech box add /home/joerg/Downloads/vmware_desktop.box 
Checking box 'vmware_desktop' integrity...
tar: Pattern matching characters used in file names
tar: Use --wildcards to enable pattern matching, or --no-wildcards to suppress this warning
tar: *.vmx: Not found in archive
tar: Exiting with failure status due to previous errors
joerg@X240:~$ tar tzvf !:3 | fgrep .vmx
tar tzvf /home/joerg/Downloads/vmware_desktop.box | fgrep .vmx
-rw-r--r-- 501/20         2600 2018-03-25 14:21 ubuntu-18.04-amd64.vmx
-rw-r--r-- 501/20          273 2018-03-25 14:21 ubuntu-18.04-amd64.vmxf

vmware_desktop.box is a local download of bento/ubuntu-18.04 From the messages above I guess tar is missing the option --wildcards tar is version 1.29

Kronuz commented 6 years ago

This is a dup of #35. Please try with mech v0.7.6, it should be fixed there.

Kronuz commented 6 years ago

This should be fixed in next version. See #37 #49