vagrant-lxc-ng/lib/vagrant-lxc
Virgil Dupras 97b5882262 Refactoring: make SudoWrapper a bit more self-contained
By looking at the code, it seems that it was a goal to make the sudo
wrapper path configurable through the Vagrantfile, but it wasn't
effective and didn't make much sense (that kind of config is a per-host
config, not a per-guest one).

This caused the cause to be needlessly complex by giving the Provider
the responsibility of instanciating the wrapper. This commit gets rid of
that.

I didn't get rid of `sudo_wrapper` injection in `Driver` and
`Driver::CLI` constructors because they're needed for tests. I'm not
ready to tackle this yet.
2018-01-13 08:32:27 -05:00
..
action tries amount of fetching ip is now configurable 2016-11-09 14:38:05 +00:00
command Refactoring: make SudoWrapper a bit more self-contained 2018-01-13 08:32:27 -05:00
driver Fix handling of non-fatal lxc-stop return code 2016-05-11 16:50:29 -07:00
provider/cap core: Introduce a public_address capability so that we can use vagrant share 2014-03-13 00:57:36 -03:00
action.rb remove /tmp cleanup, fixes lvm rootfs 2015-08-17 17:43:24 -07:00
config.rb Refactoring: make SudoWrapper a bit more self-contained 2018-01-13 08:32:27 -05:00
driver.rb Refactoring: make SudoWrapper a bit more self-contained 2018-01-13 08:32:27 -05:00
errors.rb Fix for #336: 2017-12-16 12:07:11 +13:00
plugin.rb Make code similar to other providers 2016-10-20 13:39:33 +03:00
provider.rb Refactoring: make SudoWrapper a bit more self-contained 2018-01-13 08:32:27 -05:00
sudo_wrapper.rb Refactoring: make SudoWrapper a bit more self-contained 2018-01-13 08:32:27 -05:00
synced_folder.rb synced_folder: Emit vagrant-mounted upstart event when starting containers 2014-09-22 23:44:01 -03:00
version.rb v1.2.4 2017-12-12 11:02:57 -05:00