Skip to content
This repository was archived by the owner on Feb 27, 2018. It is now read-only.

Commit 379ad86

Browse files
Sven DowideitSven Dowideit
authored andcommitted
it seems that on initial installation, or reboot, vbox doesn't get ready in time, gets confused where the waterbowl is and then pisses on itself. Second time around it appears to work
1 parent 46b348c commit 379ad86

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.9.2
1+
v0.9.3

cmds.go

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,14 @@ func cmdInit() int {
6161
logf("Creating VM %s...", B2D.VM)
6262
m, err = vbx.CreateMachine(B2D.VM, "")
6363
if err != nil {
64-
logf("Failed to create VM %q: %s", B2D.VM, err)
65-
return 1
64+
logf("FIRST: Failed to create VM %q: %s", B2D.VM, err)
65+
// double tap. VBox will sometimes (like on initial install, or reboot)
66+
// fail to start the service the first time.
67+
m, err = vbx.CreateMachine(B2D.VM, "")
68+
if err != nil {
69+
logf("Failed to create VM %q: %s", B2D.VM, err)
70+
return 1
71+
}
6672
}
6773

6874
logf("Apply interim patch to VM %s (https://www.virtualbox.org/ticket/12748)", B2D.VM)

0 commit comments

Comments
 (0)