[Groonga-mysql-commit] mroonga/mroonga at c5f3c85 [master] apt yum: enable to customize vm memory size

Back to archive index

Kentaro Hayashi null+****@clear*****
Fri May 27 23:19:28 JST 2016


Kentaro Hayashi	2016-05-27 23:19:28 +0900 (Fri, 27 May 2016)

  New Revision: c5f3c85b347f13afed4be59ac9244c8d440b38e5
  https://github.com/mroonga/mroonga/commit/c5f3c85b347f13afed4be59ac9244c8d440b38e5

  Message:
    apt yum: enable to customize vm memory size

  Modified files:
    packages/apt/Vagrantfile
    packages/yum/Vagrantfile

  Modified: packages/apt/Vagrantfile (+1 -1)
===================================================================
--- packages/apt/Vagrantfile    2016-05-27 22:58:02 +0900 (a55d92c)
+++ packages/apt/Vagrantfile    2016-05-27 23:19:28 +0900 (0be8205)
@@ -22,7 +22,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
       node.vm.box_url = vm[:box_url]
       node.vm.provision(:shell, :path => "build-deb.sh")
       node.vm.provider("virtualbox") do |virtual_box|
-        virtual_box.memory = 768
+        virtual_box.memory = (ENV["VM_MEMORY"] || 768).to_i
       end
     end
   end

  Modified: packages/yum/Vagrantfile (+1 -0)
===================================================================
--- packages/yum/Vagrantfile    2016-05-27 22:58:02 +0900 (f7be571)
+++ packages/yum/Vagrantfile    2016-05-27 23:19:28 +0900 (fd1b2e0)
@@ -44,6 +44,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
           vm_n_cpus = 1
         end
         virtual_box.cpus = vm_n_cpus
+        virtual_box.memory = (ENV["VM_MEMORY"] || 768).to_i
       end
     end
   end
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-mysql-commit mailing list
Back to archive index