Skip to content

Instantly share code, notes, and snippets.

@svpernova09
Created October 24, 2017 18:01
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save svpernova09/653271fbfaa3053da63eaecf84c1462d to your computer and use it in GitHub Desktop.
Save svpernova09/653271fbfaa3053da63eaecf84c1462d to your computer and use it in GitHub Desktop.
How to test Homestead & Hyper-V

Prerequisities:

  • Ensure you have Windows 10 & The Fall Creators Update installed.
  • Uninstall Virtualbox
  • Enable Hyper-V
  • Create a new Virtual Switch in Hyper-V that is type "External" (You'll use this whenever asked)

Edit Homestead

Add / edit these 2 lines in your Homestead.yaml

provider: hyperv
box: Svpernova09/nothomestead

Comment out line 18 of scripts/homestead.rb

#config.vm.box_version = settings["version"] ||= ">= 2.0.0"

Start the VM

vagrant destroy && vagrant up

Known Issues

  • Hyper-V ignores the IP in Homestead.yaml
  • Hyper-V ignores default port forwards
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment