A collection of bash autocomplete functions to quickly manage Cloudstack hosts and virtual machines.
By default the tool should be in /etc/bash_complete.d/block your admin servers. If it is failing, this is because one of the requirements is that the files are populated by cron and Chef recipes, which are not being displayed in this guide.
Block requires a bash-compatible terminal. That means if you are crazy and run something like zsh, this should would for you if you are importing /etc/bash_complete.d/*.
By default a Chef recipe will run cron jobs every morning at 02:00 and populate a list of all the known hosts and VMs in Cloudstack and populate the environment variables. To use block, all you have to do is hit [TAB] in your terminal after sourcing the file (see README.md)
- Fork it!
- 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
- Submit a pull request :D