Add Hyper-V manager method

pull/4989/head
Thomas Stromberg 2019-08-09 18:26:45 -07:00
parent ff4a5324e8
commit 33544d21e1
1 changed files with 13 additions and 5 deletions

View File

@ -18,21 +18,29 @@ If Hyper-V was not previously active, you will need to reboot.
Create a Hyper-V external network switch
{{% alert title="Untested" color="warning" %}}
This command is speculative, and may not work in all environments. You may need to use the Hyper-V Administrator UI for wireless interfaces.
{{% /alert %}}
### Using Hyper-V Manager
1. Open the Hyper-V Manager. (On Windows 10, search for the Hyper-V Manager in the lower left search field.)
2. Select the Virtual Switch Manager on the right-hand Actions panel.
3. Set up a new external network switch to use, named `ExternalSwitch`
* If you already have another network switch set up, use that one instead but make sure it is an external switch.
### Using PowerShell
**NOTE: This command is speculative, and may not work in all environments. You may need to use the Hyper-V Administrator UI for wireless interfaces.**
```powershell
New-VMSwitch -name ExternalSwitch -NetAdapterName Ethernet -AllowManagementOS $true
```
Set this switch as the minikube default:
## Usage
Set the switch you created as the minikube default:
```shell
minikube config set hyperv-virtual-switch ExternalSwitch
```
## Usage
```shell
minikube start --vm-driver=hyperv