Directory lookup for templates exptended

More info: https://github.com/fgrehm/vagrant-lxc/issues/77
This commit is contained in:
aries1980 2013-05-25 09:15:25 +01:00
parent 46904874fe
commit 5df2fc1c71

View file

@ -131,6 +131,8 @@ module Vagrant
TEMPLATES_PATH_LOOKUP = %w(
/usr/share/lxc/templates
/usr/lib/lxc/templates
/usr/lib64/lxc/templates
/usr/local/lib/lxc/templates
)
def templates_path
return @templates_path if @templates_path