Skip to content

Commit 5cf9b7f

Browse files
committed
Extract the VMDK file with the -z flag to ensure tar uses compression to do so.
1 parent 65d6b31 commit 5cf9b7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jobs/hook_vm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
when: (not vagrantfile.stat.exists) and (not box_status.stat.exists or (box_status.stat.isreg and clobber_output))
7070

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

0 commit comments

Comments
 (0)