Unverified Commit ee9814cb authored by Stefan Scherer's avatar Stefan Scherer
Browse files

Install vagrant plugins

parent caa7ad66
......@@ -34,6 +34,9 @@ Function SetupPhase1 {
Function SetupPhase2 {
Write-Host "Installing Vagrant plugins"
vagrant plugin install vagrant-reload
Write-Host "Adding NAT"
New-VMSwitch -SwitchName "packer-hyperv-iso" -SwitchType Internal
New-NetIPAddress -IPAddress -PrefixLength 24 -InterfaceIndex (Get-NetAdapter -name "vEthernet (packer-hyperv-iso)").ifIndex
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment