From 7e8d9701b7ee38c2724de33bc5ad5b60f3613abc Mon Sep 17 00:00:00 2001 From: Nikolaus Krismer <niko@krismer.de> Date: Sat, 24 May 2014 15:04:45 +0200 Subject: [PATCH] added hardware configuration to Vagrantfile --- Vagrantfile | 5 ++++- etc/vagrant/Vagrantfile | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index 3b04ea69..ffae10f3 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -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" end + # Hardware configuration + config.cpus = 2 + config.memory = 3072 + # Setup of shared folders config.vm.synced_folder "etc/vagrant/conf", "/setup/conf" config.vm.synced_folder "etc/vagrant/img", "/setup/img" @@ -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: 80, host: 8000, auto_correct: true, id: "httpd" end - diff --git a/etc/vagrant/Vagrantfile b/etc/vagrant/Vagrantfile index 3b8941b8..2ba4570f 100644 --- a/etc/vagrant/Vagrantfile +++ b/etc/vagrant/Vagrantfile @@ -22,6 +22,10 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.box = "vagrant-centos-65-x86_64-minimal" 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 config.vm.synced_folder "vagrant/conf", "/setup/conf" config.vm.synced_folder "vagrant/img", "/setup/img" @@ -37,4 +41,3 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| # config.vm.network :private_network, :ip => '192.168.4.50' # config.vm.network :public_network end - -- GitLab