From 3d72f4af02c1b6f5ecf3cdaedcb43b15bda58dda Mon Sep 17 00:00:00 2001 From: Fabio Rehm Date: Mon, 4 Mar 2013 01:18:50 -0300 Subject: [PATCH] Make use of Container#rootfs_path from #run_after_create_script --- lib/vagrant-lxc/container.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant-lxc/container.rb b/lib/vagrant-lxc/container.rb index f5e64a5..aee0325 100644 --- a/lib/vagrant-lxc/container.rb +++ b/lib/vagrant-lxc/container.rb @@ -59,7 +59,7 @@ module Vagrant @logger.debug 'Attempt to run after-create-script from box metadata' execute *[ script, - '-r', "#{CONTAINERS_PATH}/#{@name}/rootfs", + '-r', rootfs_path.to_s, '-k', private_key, '-i', dhcp_ip ]