Permalink
Browse files

Add hostiocache parameter

  • Loading branch information...
1 parent c75a5b1 commit 24e8a2887bd4a3bd3f6cd76ab84e656c2aecd4d7 Scott McLeod committed Apr 20, 2011
Showing with 3 additions and 3 deletions.
  1. +1 −1 Gemfile.lock
  2. +2 −2 lib/veewee/session.rb
View
@@ -37,7 +37,7 @@ GEM
mario (0.0.6)
net-scp (1.0.4)
net-ssh (>= 1.99.1)
- net-ssh (2.1.2)
+ net-ssh (2.1.4)
open4 (1.0.1)
popen4 (0.1.2)
Platform (>= 0.4.0)
@@ -30,7 +30,7 @@ def self.setenv(env)
def self.declare(options)
defaults={
:cpu_count => '1', :memory_size=> '256',
- :disk_size => '10140', :disk_format => 'VDI',:disk_size => '10240' ,
+ :disk_size => '10240', :disk_format => 'VDI', :hostiocache => 'off' ,
:os_type_id => 'Ubuntu',
:iso_file => "ubuntu-10.10-server-i386.iso", :iso_src => "", :iso_md5 => "", :iso_download_timeout => 1000,
:boot_wait => "10", :boot_cmd_sequence => [ "boot"],
@@ -573,7 +573,7 @@ def self.add_ide_controller(boxname)
def self.add_sata_controller(boxname)
#unless => "${vboxcmd} showvminfo '${vname}' | grep 'SATA Controller' ";
- command ="#{@vboxcmd} storagectl '#{boxname}' --name 'SATA Controller' --add sata"
+ command ="#{@vboxcmd} storagectl '#{boxname}' --name 'SATA Controller' --add sata --hostiocache #{@definition[:hostiocache]}"
Veewee::Shell.execute("#{command}")
end

0 comments on commit 24e8a28

Please sign in to comment.