Add Hyper-V manager method
parent
ff4a5324e8
commit
33544d21e1
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue