Skip to content

Commit

Permalink
Install vagrant plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanScherer committed Jan 21, 2018
1 parent caa7ad6 commit ee9814c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nested/terraform/provision.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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 192.168.0.1 -PrefixLength 24 -InterfaceIndex (Get-NetAdapter -name "vEthernet (packer-hyperv-iso)").ifIndex
Expand Down

0 comments on commit ee9814c

Please sign in to comment.