Skip to content

Commit

Permalink
Extract the VMDK file with the -z flag to ensure tar uses compression…
Browse files Browse the repository at this point in the history
… to do so.
  • Loading branch information
mvousden committed Jul 23, 2016
1 parent 65d6b31 commit 5cf9b7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jobs/hook_vm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
when: (not vagrantfile.stat.exists) and (not box_status.stat.exists or (box_status.stat.isreg and clobber_output))

- name: Extract the virtual machine disk (VMDK) file from the box.
command: tar -xvf {{ output_box }} -C {{ artefact_dir }} ./box-disk1.vmdk
command: tar -xzvf {{ output_box }} -C {{ artefact_dir }} ./box-disk1.vmdk
chdir={{ artefact_dir }}
creates={{ artefact_dir }}/box-disk1.vmdk
when: not zip_status.stat.exists or (zip_status.stat.isreg and clobber_output)
Expand Down

0 comments on commit 5cf9b7f

Please sign in to comment.