Commit a43e3dd0 authored by Bob Tanner's avatar Bob Tanner
Browse files

Merge branch 'my' of into packer-builder-vsphere

parents 938a4af8 ee9814cb
......@@ -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