Skip to content

Commit 58f5986

Browse files
authored
Merge pull request #214 from pauliusm/fix/fix_vbox_ver_4_detection
Fix vbox ver 4 detection
2 parents a2060c0 + ac3ea1f commit 58f5986

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xhyve/xhyve.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ func (d *Driver) PreCreateCheck() error {
414414
if err != nil {
415415
return fmt.Errorf("Error detecting VBox version: %s", err)
416416
}
417-
if !strings.HasPrefix(ver, "5") {
417+
if strings.HasPrefix(ver, "4") {
418418
return fmt.Errorf("Virtual Box version 4 or lower will cause a kernel panic" +
419419
"if xhyve tries to run. You are running version: " +
420420
ver +

0 commit comments

Comments
 (0)