Make use of Container#rootfs_path from #run_after_create_script

This commit is contained in:
Fabio Rehm 2013-03-04 01:18:50 -03:00
parent 953c2c8d55
commit 3d72f4af02

View file

@ -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
]