Skip to content
Snippets Groups Projects
Commit 7e8d9701 authored by Nikolaus Krismer's avatar Nikolaus Krismer
Browse files

added hardware configuration to Vagrantfile

parent 9be5b31f
No related branches found
No related tags found
No related merge requests found
...@@ -35,6 +35,10 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| ...@@ -35,6 +35,10 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box_url = "http://files.brianbirkinbine.com/vagrant-centos-65-i386-minimal.box" config.vm.box_url = "http://files.brianbirkinbine.com/vagrant-centos-65-i386-minimal.box"
end end
# Hardware configuration
config.cpus = 2
config.memory = 3072
# Setup of shared folders # Setup of shared folders
config.vm.synced_folder "etc/vagrant/conf", "/setup/conf" config.vm.synced_folder "etc/vagrant/conf", "/setup/conf"
config.vm.synced_folder "etc/vagrant/img", "/setup/img" config.vm.synced_folder "etc/vagrant/img", "/setup/img"
...@@ -48,4 +52,3 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| ...@@ -48,4 +52,3 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.network :forwarded_port, guest: 5432, host: 5432, auto_correct: true, id: "postgresql" config.vm.network :forwarded_port, guest: 5432, host: 5432, auto_correct: true, id: "postgresql"
config.vm.network :forwarded_port, guest: 80, host: 8000, auto_correct: true, id: "httpd" config.vm.network :forwarded_port, guest: 80, host: 8000, auto_correct: true, id: "httpd"
end end
...@@ -22,6 +22,10 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| ...@@ -22,6 +22,10 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "vagrant-centos-65-x86_64-minimal" config.vm.box = "vagrant-centos-65-x86_64-minimal"
config.vm.box_url = "http://files.brianbirkinbine.com/vagrant-centos-65-x86_64-minimal.box" config.vm.box_url = "http://files.brianbirkinbine.com/vagrant-centos-65-x86_64-minimal.box"
# Hardware configuration
config.cpus = 2
config.memory = 3072
# Setup of shared folders # Setup of shared folders
config.vm.synced_folder "vagrant/conf", "/setup/conf" config.vm.synced_folder "vagrant/conf", "/setup/conf"
config.vm.synced_folder "vagrant/img", "/setup/img" config.vm.synced_folder "vagrant/img", "/setup/img"
...@@ -37,4 +41,3 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| ...@@ -37,4 +41,3 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# config.vm.network :private_network, :ip => '192.168.4.50' # config.vm.network :private_network, :ip => '192.168.4.50'
# config.vm.network :public_network # config.vm.network :public_network
end end
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