Remove duplicated Driver#rootfs_path
This commit is contained in:
parent
3ab6022138
commit
c53f9456b7
1 changed files with 0 additions and 4 deletions
|
@ -137,10 +137,6 @@ module Vagrant
|
||||||
Pathname.new("#{CONTAINERS_PATH}/#{@container_name}")
|
Pathname.new("#{CONTAINERS_PATH}/#{@container_name}")
|
||||||
end
|
end
|
||||||
|
|
||||||
def rootfs_path
|
|
||||||
Pathname.new(base_path.join('config').read.match(/^lxc\.rootfs\s+=\s+(.+)$/)[1])
|
|
||||||
end
|
|
||||||
|
|
||||||
def import_template(path)
|
def import_template(path)
|
||||||
template_name = "vagrant-tmp-#{@container_name}"
|
template_name = "vagrant-tmp-#{@container_name}"
|
||||||
tmp_template_path = LXC_TEMPLATES_PATH.join("lxc-#{template_name}").to_s
|
tmp_template_path = LXC_TEMPLATES_PATH.join("lxc-#{template_name}").to_s
|
||||||
|
|
Loading…
Reference in a new issue