lib/testlab/providers/vagrant.rb in testlab-1.6.1 vs lib/testlab/providers/vagrant.rb in testlab-1.6.2

- old
+ new

@@ -162,13 +162,17 @@ def cpus (@config[:vagrant][:cpus] || 2) end def memory - (@config[:vagrant][:memory] || 2048) + (@config[:vagrant][:memory] || (1024 * 2)) end + def resize + (@config[:vagrant][:resize] || (1024 * 16)) + end + ################################################################################ def vagrant_cli(*args) @ui.logger.debug { "args == #{args.inspect}" } @@ -196,9 +200,10 @@ :hostname => self.hostname, :user => self.user, :port => self.port, :cpus => self.cpus, :memory => self.memory, + :resize => self.resize, :box => self.box, :box_url => self.box_url } vagrantfile_template = File.join(TestLab::Provider.template_dir, "vagrant", "Vagrantfile.erb")