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
262315d5
Commit
262315d5
authored
Aug 07, 2013
by
Joe Fitzgerald
Browse files
Updating Vagrantfile Template
parent
7749080a
Changes
1
Show whitespace changes
Inline
Side-by-side
vagrantfile.template
View file @
262315d5
...
...
@@ -6,6 +6,10 @@ Vagrant.configure("2") do |config|
config
.
vm
.
box
=
"windows2008r2"
# You should be using the vagrant-windows Vagrant Plugin!
# Admin user name and password
config
.
winrm
.
username
=
"vagrant"
config
.
winrm
.
password
=
"vagrant"
config
.
vm
.
guest
=
:windows
config
.
windows
.
halt_timeout
=
15
...
...
@@ -13,8 +17,11 @@ Vagrant.configure("2") do |config|
config
.
vm
.
network
:forwarded_port
,
guest:
3389
,
host:
3389
config
.
vm
.
network
:forwarded_port
,
guest:
5985
,
host:
5985
# Berkshelf
# config.berkshelf.enabled = true
# Shell - Hello World
#
config.vm.provision :shell, :inline => "C:\\vagrant\\scripts\\HelloWorld.bat"
config
.
vm
.
provision
:shell
,
:inline
=>
"C:
\\
vagrant
\\
scripts
\\
HelloWorld.bat"
config
.
vm
.
provider
:virtualbox
do
|
v
,
override
|
end
...
...
@@ -34,5 +41,4 @@ Vagrant.configure("2") do |config|
v
.
vmx
[
"RemoteDisplay.vnc.enabled"
]
=
"false"
v
.
vmx
[
"RemoteDisplay.vnc.port"
]
=
"5900"
end
end
\ No newline at end of file
Write
Preview
Supports
Markdown
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