From f7d5a22e0fd28c3689273c03b652d91b6ed661ae Mon Sep 17 00:00:00 2001 From: Robert Birnie Date: Fri, 17 Jan 2014 13:34:07 -0800 Subject: [PATCH] refs #2314 - more choices in memory drop down --- app/helpers/compute_resources_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/compute_resources_helper.rb b/app/helpers/compute_resources_helper.rb index f5225839aa2..21c2aa01d31 100644 --- a/app/helpers/compute_resources_helper.rb +++ b/app/helpers/compute_resources_helper.rb @@ -40,7 +40,7 @@ def vm_pause_action vm def memory_options max_memory gb = 1024*1024*1024 - opts = [0.25, 0.5, 0.75, 1, 2, 4, 8, 16] + opts = [0.25, 0.5, 0.75, 1, 2, 3, 4, 6, 8, 12, 16, 24, 32] opts.map{|n| [number_to_human_size(n*gb), (n*gb).to_i] unless n > (max_memory / gb)}.compact end