Permalink
Browse files

Make virtualbox default driver

Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
  • Loading branch information...
nathanleclaire committed Jan 17, 2017
1 parent b98be6e commit 69d4b95b2b96a058531f9e3b8cb7e3866d19285b
Showing with 3 additions and 4 deletions.
  1. +2 −3 commands/create.go
  2. +1 −1 its/tester.go
View
@@ -38,7 +38,7 @@ var (
cli.StringFlag{
Name: "driver, d",
Usage: "Driver to create machine with.",
Value: "none",
Value: "virtualbox",
EnvVar: "MACHINE_DRIVER",
},
cli.StringFlag{
@@ -299,8 +299,7 @@ func cmdCreateOuter(c CommandLine, api libmachine.API) error {
//TODO: Check Environment have to include flagHackLookup function.
driverName = os.Getenv("MACHINE_DRIVER")
if driverName == "" {
c.ShowHelp()
return nil // ?
driverName = "virtualbox"
}
}
View
@@ -150,7 +150,7 @@ func (dmt *dockerMachineTest) DriverName() string {
return driver
}
return "none"
return "virtualbox"
}
func (dmt *dockerMachineTest) Should() Assertions {

0 comments on commit 69d4b95

Please sign in to comment.