Skip to content

tsiduia/ruby-virtbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Small pure ruby library to control VirtualBox VMs

You need VBoxManage in your PATH. On OSX you can do this by adding /Applications/VirtualBox.app/Contents/MacOS to your PATH.

export PATH=/Applications/VirtualBox.app/Contents/MacOS:$PATH
require "virtbox"

vm = VirtBox::VM.new("vm-name")

exist = vm.exists?

vm_snaps = vm.snapshots

vm.revert_to_snapshot "snap-name"

vm.stop

vm.start

About

VirtualBox module for ruby

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages