Added support for executing commands outside the interactive shell.
9 files changed
tree: 2657523d19110bfc9d11c33c87f8c079ac05b89c
  1. assembly/
  2. branding/
  3. .gitignore
  4. pom.xml
  5. README.md
README.md

jclouds-cli

Jclouds CLI provides two types of command line interface:

  1. An interactive shell.
  2. A shell script.

Installation

To install the jclouds cli you just need to download the zip or the tarball and extract it to the folder of your choice.

Using the interactive shell

To start the interactive shell: ./bin/jclouds-cli

Using the script

To use the scirpt: ./bin/jclouds .

Categories: node, group, image, location, hardware. Actions: list, create, destroy, runscript. Options: --provider, --identity, --credential --endpoint etc.

Some examples: To create 10 nodes on EC2 under group: myGroupName using Ubuntu 10.04 ./jclouds node create --provider aws-ec2 --identity --credential --os-family ubuntu --os-version 10.04 --adminAcess myGroupName 10

To list all nodes: ./jclouds node list --provider aws-ec2 --identity --credential

To destroy a node: ./jclouds node destroy