Remove duplicated Driver#rootfs_path

This commit is contained in:
Fabio Rehm 2013-04-09 22:12:05 -03:00
parent 3ab6022138
commit c53f9456b7

View file

@ -137,10 +137,6 @@ module Vagrant
Pathname.new("#{CONTAINERS_PATH}/#{@container_name}")
end
def rootfs_path
Pathname.new(base_path.join('config').read.match(/^lxc\.rootfs\s+=\s+(.+)$/)[1])
end
def import_template(path)
template_name = "vagrant-tmp-#{@container_name}"
tmp_template_path = LXC_TEMPLATES_PATH.join("lxc-#{template_name}").to_s