oneds-mrproper
Cleaning utility for OpenNebula datastores.
Cleans forgotten images of image datastores, directories of system datastores and empty unused datastore directories.
##Requirements
###OpenNebula backend
- OpenNebula >= 5.2 (doesn't have to be present on the same machine)
Installation
###From RubyGems.org
To install the most recent stable version
gem install oneds-mrproper
###From source (dev)
Installation from source should never be your first choice! Especially, if you are not
familiar with RVM, Bundler, Rake and other dev tools for Ruby!
However, if you wish to contribute to our project, this is the right way to start.
To build and install the bleeding edge version from master
git clone git://github.com/Misenko/oneds-mrproper.git
cd oneds-mrproper
gem install bundler
bundle install
##Usage
oneds-mrproper is run with executable oneds-mrproper
. For further assistance run oneds-mrproper help
:
$ oneds-mrproper help
Commands:
oneds-mrproper clean
oneds-mrproper help [COMMAND]
Options:
[--dry-run], [--no-dry-run]
[--debug], [--no-debug]
[--info], [--no-info]
oneds-mrproper cleaning is started with clean
command (command is default and can be omitted)
$ oneds-mrproper help clean
Usage:
oneds-mrproper clean
Options:
[--system], [--no-system]
[--image], [--no-image]
[--directory], [--no-directory]
[--one-endpoint=ONE-ENDPOINT]
[--one-secret=ONE-SECRET]
[--dry-run], [--no-dry-run]
[--debug], [--no-debug]
[--info], [--no-info]
Cleaning datastores
Contributing
- Fork it ( https://github.com/Misenko/oneds-mrproper/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request