Skip to content

Instantly share code, notes, and snippets.

@enebo
Created December 17, 2010 21:36
Show Gist options
  • Save enebo/745747 to your computer and use it in GitHub Desktop.
Save enebo/745747 to your computer and use it in GitHub Desktop.
require 'rubygems'
require 'virtualbox'
vm = VirtualBox::VM.find("myvm")
# Let's first print out some basic info about the VM
#puts "Memory: #{vm.memory_size}"
# Let's modify the memory and name...
#vm.memory_size = 360
#vm.name = "my-renamed-vm"
#vm.save
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment