Linux::Lxc
This gem is able to parse a lxc-config file and than allow to modify the content of a lxc-config and write the in-memory represation back to disc.
Installation
Add this line to your application's Gemfile:
gem 'linux-lxc'
And then execute:
$ bundle
Or install it yourself as:
$ gem install linux-lxc
Usage
look in the tests
Contributing
- Fork it ( https://github.com/mabels/linux-lxc/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