minishift: Minishift on Windows fails to start with error "Not able to populate hyperv-virtual-switch flag"

General information

  • Minishift version: 1.26.0
  • OS: Windows 10
  • Hypervisor: VirtualBox

Steps to reproduce

  1. Run “minishift.exe start --vm-driver virtualbox” on Windows 10

Expected

Minishift starts

Actual

Minishift does not start with error message: “Not able to populate hyperv-virtual-switch flag with Default Switch value” (although virtualbox is used as Hypervisor)

Logs

./minishift start --show-libmachine-logs -v5
-- minishift version: v1.26.0+2fb32c8
-- Starting profile 'minishift'
-- Check if deprecated options are used ... OK
-- Checking if https://github.com is reachable ... OK
-- Checking if requested OpenShift version 'v3.11.0' is valid ... OK
-- Checking if requested OpenShift version 'v3.11.0' is supported ... OK
-- Checking if requested hypervisor 'virtualbox' is supported on this platform ... OK
-- Checking if VirtualBox is installed ... OK
-- Checking the ISO URL ... OK
Not able to populate hyperv-virtual-switch flag with Default Switch value

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 19 (11 by maintainers)

Commits related to this issue

Most upvoted comments

If you really need the latest version, you could try to use:

$ minishift config set save-start-flags false
$ minishift start ...

and see if it continues.

@praveenkumar it works with the PR.

{ minishift }  » ./minishift.exe config view                                                                                                                                                                
- vm-driver                          : virtualbox
{ minishift }  » ./minishift.exe start                                                                                                                                                                        
-- Starting profile 'minishift'
-- Check if deprecated options are used ... OK
-- Checking if https://github.com is reachable ... OK
-- Checking if requested OpenShift version 'v3.11.0' is valid ... OK
-- Checking if requested OpenShift version 'v3.11.0' is supported ... OK
-- Checking if requested hypervisor 'virtualbox' is supported on this platform ... OK
-- Checking if VirtualBox is installed ... OK
-- Checking the ISO URL ... OK
-- Checking if provided oc flags are supported ... OK
-- Starting the OpenShift cluster using 'virtualbox' hypervisor ...
-- Minishift VM will be configured with ...
   Memory:    4 GB
   vCPUs :    2
   Disk size: 20 GB
-- Starting Minishift VM ......................