From 33544d21e1250083cbe5f0dafbc17355854fea6d Mon Sep 17 00:00:00 2001 From: Thomas Stromberg Date: Fri, 9 Aug 2019 18:26:45 -0700 Subject: [PATCH] Add Hyper-V manager method --- .../Drivers/includes/hyperv_usage.inc | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/site/content/en/docs/Reference/Drivers/includes/hyperv_usage.inc b/site/content/en/docs/Reference/Drivers/includes/hyperv_usage.inc index a823aa0b7f..9a5b7918e2 100644 --- a/site/content/en/docs/Reference/Drivers/includes/hyperv_usage.inc +++ b/site/content/en/docs/Reference/Drivers/includes/hyperv_usage.inc @@ -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