-
Notifications
You must be signed in to change notification settings - Fork 335
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ Add Hyper-V Provider Support (#104)
* Add Support for Hyper-V Blocked by hashicorp/vagrant#7068 * Finalize Powershell build script to support hyper-v
- Loading branch information
1 parent
4229804
commit b7494da
Showing
3 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
$scriptPath = split-path -parent $MyInvocation.MyCommand.Definition | ||
|
||
# install required vagrant plugin to handle reloads during provisioning | ||
vagrant plugin install vagrant-reload | ||
|
||
# start with no machines | ||
vagrant destroy -f | ||
Remove-Item -Path .vagrant -Recurse | ||
|
||
vagrant up --provider hyperv | ||
vagrant halt | ||
|
||
vagrant package --output hyperv.box |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"provider": "hyperv" | ||
} |