diff --git a/pkg/minikube/cluster/cluster.go b/pkg/minikube/cluster/cluster.go index 2f4c7c5da9df..e1ef207f81c9 100644 --- a/pkg/minikube/cluster/cluster.go +++ b/pkg/minikube/cluster/cluster.go @@ -46,6 +46,10 @@ import ( "k8s.io/minikube/pkg/util" ) +const ( + defaultVirtualboxNicType = "virtio" +) + //This init function is used to set the logtostderr variable to false so that INFO level log info does not clutter the CLI //INFO lvl logging is displayed due to the kubernetes api calling flag.Set("logtostderr", "true") in its init() //see: https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/util/logs/logs.go#L32-L34 @@ -183,6 +187,8 @@ func createVirtualboxHost(config MachineConfig) drivers.Driver { d.DiskSize = int(config.DiskSize) d.HostOnlyCIDR = config.HostOnlyCIDR d.NoShare = config.DisableDriverMounts + d.NatNicType = defaultVirtualboxNicType + d.HostOnlyNicType = defaultVirtualboxNicType return d }