diff --git a/lib/vagrant-lxc/provider.rb b/lib/vagrant-lxc/provider.rb index dead6ab..ab56279 100644 --- a/lib/vagrant-lxc/provider.rb +++ b/lib/vagrant-lxc/provider.rb @@ -36,7 +36,7 @@ module Vagrant def ensure_lxc_installed! begin - sudo_wrapper.run("which", "lxc-create") + sudo_wrapper.run("/usr/bin/which", "lxc-create") rescue Vagrant::LXC::Errors::ExecuteError raise Errors::LxcNotInstalled end