Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Bob Tanner
packer-windows
Commits
f724e75a
Commit
f724e75a
authored
Mar 09, 2014
by
pandrew
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add portforward for winrm
parent
906cbbc5
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
3 deletions
+9
-3
vagrantfile-windows_2008_r2.template
vagrantfile-windows_2008_r2.template
+2
-0
vagrantfile-windows_2012.template
vagrantfile-windows_2012.template
+2
-0
vagrantfile-windows_2012_r2.template
vagrantfile-windows_2012_r2.template
+2
-0
vagrantfile-windows_7.template
vagrantfile-windows_7.template
+2
-0
vagrantfile-windows_81.template
vagrantfile-windows_81.template
+1
-3
No files found.
vagrantfile-windows_2008_r2.template
View file @
f724e75a
...
...
@@ -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
...
...
vagrantfile-windows_2012.template
View file @
f724e75a
...
...
@@ -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"
...
...
vagrantfile-windows_2012_r2.template
View file @
f724e75a
...
...
@@ -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"
...
...
vagrantfile-windows_7.template
View file @
f724e75a
...
...
@@ -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"
...
...
vagrantfile-windows_81.template
View file @
f724e75a
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment