Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Bob Tanner
packer-windows
Commits
15df1f4d
Commit
15df1f4d
authored
Aug 02, 2013
by
Joe Fitzgerald
Browse files
Updating Vagrantfile Template
- Now Assumes The Use Of Vagrant-Windows Vagrant Plugin!
parent
0be8d8e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
vagrantfile.template
View file @
15df1f4d
...
...
@@ -5,16 +5,34 @@ Vagrant.configure("2") do |config|
config
.
vm
.
define
"vagrant-windows"
config
.
vm
.
box
=
"windows2008r2"
# You should be using the vagrant-windows Vagrant Plugin!
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
# Shell - Hello World
# config.vm.provision :shell, :inline => "C:\\vagrant\\scripts\\HelloWorld.bat"
config
.
vm
.
provider
:virtualbox
do
|
v
,
override
|
end
config
.
vm
.
provider
:vmware_fusion
do
|
v
,
override
|
v
.
gui
=
true
v
.
vmx
[
"memsize"
]
=
"2048"
v
.
vmx
[
"ethernet0.virtualDev"
]
=
"vmxnet3"
v
.
vmx
[
"RemoteDisplay.vnc.enabled"
]
=
"false"
v
.
vmx
[
"RemoteDisplay.vnc.port"
]
=
"5900"
end
config
.
vm
.
provider
:vmware_workstation
do
|
v
,
override
|
v
.
vmx
[
"ethernet0.virtualDev"
]
=
"vmxnet3"
v
.
gui
=
true
v
.
vmx
[
"memsize"
]
=
"2048"
v
.
vmx
[
"ethernet0.virtualDev"
]
=
"vmxnet3"
v
.
vmx
[
"RemoteDisplay.vnc.enabled"
]
=
"false"
v
.
vmx
[
"RemoteDisplay.vnc.port"
]
=
"5900"
end
end
\ No newline at end of file
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