clc_machine

clc_machine provides commands for inspecting, deleting and adding machines in the QA1 DLAB folder. This is really intended to be a quick and dirty tool for a rather narrow use case.

Installation

Add this line to your application's Gemfile:

gem 'clc_machine'

And then execute:

$ bundle

Or install it yourself as:

$ gem install clc_machine

Usage

clc_machine COMMAND [MACHINE NAME] [OPTIONS]

Commands

  • delete

Deletes machines specified by name or regex (see options). An attempt will be made to delete the machine from the chef server as well.

  • get

Returns details about a machine.

  • list

Lists all machines in the QA1 DLAB folder.

Options

  • -n, --name: The name of the vm
  • -r, --regex: A regular expression to match one or more VMs.