Make use of Container#rootfs_path from #run_after_create_script
This commit is contained in:
parent
953c2c8d55
commit
3d72f4af02
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ module Vagrant
|
||||||
@logger.debug 'Attempt to run after-create-script from box metadata'
|
@logger.debug 'Attempt to run after-create-script from box metadata'
|
||||||
execute *[
|
execute *[
|
||||||
script,
|
script,
|
||||||
'-r', "#{CONTAINERS_PATH}/#{@name}/rootfs",
|
'-r', rootfs_path.to_s,
|
||||||
'-k', private_key,
|
'-k', private_key,
|
||||||
'-i', dhcp_ip
|
'-i', dhcp_ip
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Reference in a new issue