Commit f724e75a authored by pandrew's avatar pandrew

add portforward for winrm

parent 906cbbc5
......@@ -13,6 +13,8 @@ Vagrant.configure("2") do |config|
config.vm.guest = :windows
config.windows.halt_timeout = 15
config.vm.network :forwarded_port, guest: 5985, host: 5985, id: "winrm", auto_correct: true
# Berkshelf
# config.berkshelf.enabled = true
......
......@@ -15,6 +15,8 @@ Vagrant.configure("2") do |config|
# Berkshelf
# config.berkshelf.enabled = true
config.vm.network :forwarded_port, guest: 5985, host: 5985, id: "winrm", auto_correct: true
# Shell - Hello World
# config.vm.provision :shell, :inline => "C:\\vagrant\\scripts\\HelloWorld.bat"
......
......@@ -15,6 +15,8 @@ Vagrant.configure("2") do |config|
# Berkshelf
# config.berkshelf.enabled = true
config.vm.network :forwarded_port, guest: 5985, host: 5985, id: "winrm", auto_correct: true
# Shell - Hello World
# config.vm.provision :shell, :inline => "C:\\vagrant\\scripts\\HelloWorld.bat"
......
......@@ -15,6 +15,8 @@ Vagrant.configure("2") do |config|
# Berkshelf
# config.berkshelf.enabled = true
config.vm.network :forwarded_port, guest: 5985, host: 5985, id: "winrm", auto_correct: true
# Shell - Hello World
# config.vm.provision :shell, :inline => "C:\\vagrant\\scripts\\HelloWorld.bat"
......
......@@ -13,9 +13,7 @@ Vagrant.configure("2") do |config|
config.vm.guest = :windows
config.windows.halt_timeout = 15
# Port forward WinRM and RDP
config.vm.network :forwarded_port, guest: 3389, host: 3389
config.vm.network :forwarded_port, guest: 5985, host: 5985
config.vm.network :forwarded_port, guest: 5985, host: 5985, id: "winrm", auto_correct: true
# Berkshelf
# config.berkshelf.enabled = true
......
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