From 6932749ac4d1fb6811386eb7a3512878e8f47d9d Mon Sep 17 00:00:00 2001 From: Fabio Rehm Date: Wed, 10 Apr 2013 00:07:01 -0300 Subject: [PATCH] Remove unused var --- lib/vagrant-lxc/driver.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/vagrant-lxc/driver.rb b/lib/vagrant-lxc/driver.rb index 48fe392..0d41f25 100644 --- a/lib/vagrant-lxc/driver.rb +++ b/lib/vagrant-lxc/driver.rb @@ -85,8 +85,6 @@ module Vagrant # TODO: This needs to be reviewed and specs needs to be written def compress_rootfs - # TODO: Our template should not depend on container's arch - arch = base_path.join('config').read.match(/^lxc\.arch\s+=\s+(.+)$/)[1] rootfs_dirname = File.dirname rootfs_path basename = rootfs_path.to_s.gsub(/^#{Regexp.escape rootfs_dirname}\//, '') # TODO: Pass in tmpdir so we can clean up from outside