commit | ce97698278de437c05f1d106b1f79bbca2a4fa3c | [log] [tgz] |
---|---|---|
author | Ioannis Canellos <iocanel@apache.org> | Fri Jun 15 01:33:05 2012 +0300 |
committer | Ioannis Canellos <iocanel@apache.org> | Fri Jun 15 01:33:05 2012 +0300 |
tree | 2657523d19110bfc9d11c33c87f8c079ac05b89c | |
parent | fe126acccf5d1378d7b6462c8d21934b200e8fe6 [diff] |
Added support for executing commands outside the interactive shell.
Jclouds CLI provides two types of command line interface:
To install the jclouds cli you just need to download the zip or the tarball and extract it to the folder of your choice.
To start the interactive shell: ./bin/jclouds-cli
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