Sha256: d53296c1cd10bd807d424481cb9b130075eb1f3dbf2c4e675362aad6c252bd75
Contents?: true
Size: 1.06 KB
Versions: 1
Compression:
Stored size: 1.06 KB
Contents
[![Build Status](https://travis-ci.org/fgimenez/vagrant-shell-commander.png)](https://travis-ci.org/fgimenez/vagrant-shell-commander) [![Code Climate](https://codeclimate.com/github/fgimenez/vagrant-shell-commander.png)](https://codeclimate.com/github/fgimenez/vagrant-shell-commander) # Vagrant::Shell::Commander Vagrant plugin for executing arbitrary shell commands on guest. Executes the given command on all the machines on multinode environments. It also gives the option to specify a working directory. ## Installation Install it as a vagrant plugin: $ vagrant plugin install vagrant-shell-commander ## Usage To execute a command on all the machines: $ vagrant sh --cmd 'free' Restrict the machine to run: $ vagrant sh --cmd 'free' machine1 Add working directory: $ vagrant sh --cmd 'ls -al' --cwd '/srv/www' ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vagrant-shell-commander-0.1.0 | README.md |