EOX GitLab Instance

Skip to content
Snippets Groups Projects
Commit 2e982fc9 authored by Stephan's avatar Stephan
Browse files

Adding virtualbox configuration.

parent 99eb9435
No related branches found
No related tags found
1 merge request!11Virtualbox
.vagrant .vagrant*
build/RPMS build/RPMS
build/SOURCES build/SOURCES
build/SPECS build/SPECS
build/SRPMS build/SRPMS
\ No newline at end of file
...@@ -22,6 +22,8 @@ Vagrant.configure("2") do |config| ...@@ -22,6 +22,8 @@ Vagrant.configure("2") do |config|
# doesn't already exist on the user's system. # doesn't already exist on the user's system.
config.vm.box_url = "http://downloads.eox.at/boxes/centos64.box" 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 # 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, # 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. # accessing "localhost:8080" will access port 80 on the guest machine.
...@@ -50,8 +52,17 @@ Vagrant.configure("2") do |config| ...@@ -50,8 +52,17 @@ Vagrant.configure("2") do |config|
# backing providers for Vagrant. These expose provider-specific options. # backing providers for Vagrant. These expose provider-specific options.
# View the documentation for the provider you're using for more # View the documentation for the provider you're using for more
# information on available options. # information on available options.
config.vm.provider :virtualbox do |vb| config.vm.provider "virtualbox" do |v|
vb.customize ["modifyvm", :id, "--memory", 1024] # 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 end
# Enable provisioning with Puppet stand alone. Puppet manifests # Enable provisioning with Puppet stand alone. Puppet manifests
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment