Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alt tag

VORTEX

VBoxManage ORchestration Tool EXtender

Information

Ruby script wrapper for creating and running Virtual Box VMs in headless mode.

This requires a serial console to be enabled on the VM. It connects via a socket and drives an OS install.

Version

Current version: 0.3.2

See CHANGELOG.md for the history of changes.

License

This software is licensed as CC BY-NC-SA 4.0 (Creative Commons Attribution-NonCommercial-ShareAlike)

https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode

See the LICENSE file.

Usage

$ vortex -[n|r] -[b|c|d|e|f|h|i|j|l|m|n|o|u|v|y|z]

-h: Print help
-d: Disk size
-c: Disk controller type
-r: Memory size
-l: List VMs
-u: Check for updated version
-O: Convert a character to octal
-f: Use a predefined OS type (from methods directory)
-o: Operating System
-m: Create/Make VM (Instantiate a VM)
-n: Name of host
-b: Build VM (Install OS)
-s: Shutdown VM
-V: Print verbose version
-v: Print version
-z: Run in debug mode (verbose output and/or logging)
-e: Destroy VM
-i: Attach ISO
-y: Answer yes to questions

Examples

Create a predefined VM with hostname sol10u9vm01:

$ vortex -n sol10u9vm01 -f sol10u9 -m

Build VM named sol10u9vm01 in headless mode with predefined sol10u9 method and connect to console (methods are ruby code and reside in methods directory):

$ vortex -n sol10u9vm01 -f sol10u9 -b

Destroy VM named sol10u9vm01:

$ vortex -n sol10u9vm01 -e

Shutdown VM named sol10u9vm01:

$ vortex -n sol10u9vm01 -s

Requirements

Ruby gems:

  • getopt (provides getopt/std, see Gemfile)
  • socket
  • open-uri

VirtualBox (VBoxManage in PATH)

Help Support Development

If you find this software useful and would like to support its development, please consider buying me a coffee:

https://ko-fi.com/richardatlateralblast

About

An example Ruby script to drive VirtualBox via the command line

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages