提交 33544d21 编写于 作者: T Thomas Stromberg

Add Hyper-V manager method

上级 ff4a5324
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册