Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

seperate use of pae for the vm into it's own definition, default is off

  • Loading branch information...
commit 50cbad8fb89aa2eb53e644294cce4c03ef10d915 1 parent ef1ff87
@splaice splaice authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/veewee/session.rb
View
4 lib/veewee/session.rb
@@ -31,7 +31,7 @@ def self.setenv(env)
def self.declare(options)
defaults={
:cpu_count => '1', :memory_size=> '256',
- :disk_size => '10240', :disk_format => 'VDI', :hostiocache => 'off' , :use_hw_virt_ext => 'on',
+ :disk_size => '10240', :disk_format => 'VDI', :hostiocache => 'off' , :use_hw_virt_ext => 'on', :use_pae => '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"],
@@ -495,7 +495,7 @@ def self.create_vm(boxname,force=false)
Veewee::Shell.execute("#{command}")
# Modify the vm to enable or disable hw virtualization extensions
- command="#{@vboxcmd} modifyvm #{boxname} --hwvirtex #{@definition[:use_hw_virt_ext]} --pae #{@definition[:use_hw_virt_ext]}"
+ command="#{@vboxcmd} modifyvm #{boxname} --hwvirtex #{@definition[:use_hw_virt_ext]} --pae #{@definition[:use_pae]}"
#Exec and system stop the execution here
Veewee::Shell.execute("#{command}")
Please sign in to comment.
Something went wrong with that request. Please try again.