EOX GitLab Instance

Commit 2e982fc9 authored by Stephan Meißl's avatar Stephan Meißl
Browse files

Adding virtualbox configuration.

parent 99eb9435
.vagrant
.vagrant*
build/RPMS
build/SOURCES
build/SPECS
build/SRPMS
\ No newline at end of file
build/SRPMS
......@@ -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
......
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