From c53f9456b708bb5a9b3241200b0bef38aaecafa6 Mon Sep 17 00:00:00 2001 From: Fabio Rehm Date: Tue, 9 Apr 2013 22:12:05 -0300 Subject: [PATCH] Remove duplicated Driver#rootfs_path --- lib/vagrant-lxc/driver.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/vagrant-lxc/driver.rb b/lib/vagrant-lxc/driver.rb index 7104c2d..75e691f 100644 --- a/lib/vagrant-lxc/driver.rb +++ b/lib/vagrant-lxc/driver.rb @@ -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