sosedoff/lxc-ruby — pull request #10 by ranjib (2013-09-15 23:57:47+00:00)
Title: Allow passing template directory while creating containers

Currently the lxc template directory is hard coded inside the create method. Since different linux distros place lxc templates in different locations (e.g fedora places it in /usr/share/lxc, and ubuntu inside /usr/lib/lxc) this method fails sometime. This PR will let users pass template directory as additional option, to circumvent this, in absence of this option it will fall back to the current hard coded value, thus retaining the old behavior.