EOX GitLab Instance
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Vagrant
Builder
Commits
2e982fc9
Commit
2e982fc9
authored
Nov 04, 2013
by
Stephan Meißl
Browse files
Adding virtualbox configuration.
parent
99eb9435
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
2e982fc9
.vagrant
.vagrant
*
build/RPMS
build/SOURCES
build/SPECS
build/SRPMS
\ No newline at end of file
build/SRPMS
Vagrantfile
View file @
2e982fc9
...
...
@@ -22,6 +22,8 @@ Vagrant.configure("2") do |config|
# doesn't already exist on the user's system.
config
.
vm
.
box_url
=
"http://downloads.eox.at/boxes/centos64.box"
config
.
vm
.
hostname
=
"builder-rpm-vagrant"
# Create a forwarded port mapping which allows access to a specific port
# within the machine from a port on the host machine. In the example below,
# accessing "localhost:8080" will access port 80 on the guest machine.
...
...
@@ -50,8 +52,17 @@ Vagrant.configure("2") do |config|
# backing providers for Vagrant. These expose provider-specific options.
# View the documentation for the provider you're using for more
# information on available options.
config
.
vm
.
provider
:virtualbox
do
|
vb
|
vb
.
customize
[
"modifyvm"
,
:id
,
"--memory"
,
1024
]
config
.
vm
.
provider
"virtualbox"
do
|
v
|
# Custom name
v
.
name
=
"builder_rpm"
# Increase memory and cpus
v
.
customize
[
"modifyvm"
,
:id
,
"--memory"
,
1024
,
"--cpus"
,
2
]
# Increase performance i.e. don't use swap extensively
v
.
customize
[
"modifyvm"
,
:id
,
"--ioapic"
,
"on"
,
"--largepages"
,
"off"
,
"--vtxvpid"
,
"off"
]
# Use GUI for debugging purposes
#v.gui = true
end
# Enable provisioning with Puppet stand alone. Puppet manifests
...
...
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