From aed61291e8a937a49f12ef9d3f1236400e5a4e6e Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sat, 23 Nov 2013 11:45:06 -0800 Subject: [PATCH] Update CHANGELOG --- CHANGELOG.md | 1 + plugins/providers/virtualbox/config.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 306fa0de0..fa25b19ca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ FEATURES: syncing folders to be added as plugins to Vagrant. - The `--debug` flag can be specified on any command now to get debug-level log output to ease reporting bugs. + - You can now specify a memory using `vb.memory` setting with VirtualBox. IMPROVEMENTS: diff --git a/plugins/providers/virtualbox/config.rb b/plugins/providers/virtualbox/config.rb index 296166ab6..d7d3b2269 100644 --- a/plugins/providers/virtualbox/config.rb +++ b/plugins/providers/virtualbox/config.rb @@ -81,7 +81,7 @@ module VagrantPlugins # # @param size [Integer, String] the memory size in MB def memory=(size) - customize "pre-boot", ["modifyvm", :id, "--memory", size] + customize("pre-boot", ["modifyvm", :id, "--memory", size.to_s]) end # This is the hook that is called to finalize the object before it