Skip to content

Commit f68e03b

Browse files
vm: add explanation for image reset approach for VirtualBox
1 parent 05705b6 commit f68e03b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

vm/virtualbox/virtualbox.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ func (pool *Pool) Create(_ context.Context, workdir string, index int) (vmimpl.I
9696
return inst, nil
9797
}
9898

99+
// We avoid immutable disks and reset the image manually, as this proved more reliable when VMs fail to restart cleanly.
99100
func (inst *instance) clone() error {
100101
if inst.debug {
101102
log.Logf(0, "cloning VM %q to %q", inst.baseVM, inst.vmName)

0 commit comments

Comments
 (0)