Skip to content

Commit 126d21c

Browse files
committed
Try multiple attempts at extracting the VMDK from a vagrant box. This extraction appears to fail periodically.
1 parent 5a1ba33 commit 126d21c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

jobs/hook_vm.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@
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)
76+
register: result
77+
until: result.rc == 0
78+
retries: 3
7679

7780
- name: Convert the virtual machine disk (VMDK) to a virtual hard disk (VHD).
7881
command: VBoxManage clonehd --format VHD box-disk1.vmdk {{ output_name }}.vhd

0 commit comments

Comments
 (0)