File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,10 @@ import (
46
46
"k8s.io/minikube/pkg/util"
47
47
)
48
48
49
+ const (
50
+ defaultVirtualboxNicType = "virtio"
51
+ )
52
+
49
53
//This init function is used to set the logtostderr variable to false so that INFO level log info does not clutter the CLI
50
54
//INFO lvl logging is displayed due to the kubernetes api calling flag.Set("logtostderr", "true") in its init()
51
55
//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 {
183
187
d .DiskSize = int (config .DiskSize )
184
188
d .HostOnlyCIDR = config .HostOnlyCIDR
185
189
d .NoShare = config .DisableDriverMounts
190
+ d .NatNicType = defaultVirtualboxNicType
191
+ d .HostOnlyNicType = defaultVirtualboxNicType
186
192
return d
187
193
}
188
194
You can’t perform that action at this time.
0 commit comments