core: Write box information after download

This commit is contained in:
Fabio Rehm 2013-10-04 21:29:52 -03:00
parent 17fd5f9e4e
commit 1443d634c7
1 changed files with 6 additions and 3 deletions

View File

@ -11,10 +11,13 @@ module Vagrant
end
def call(env)
box_url = env[:box_url]
box_added = env[:box_added]
box_url = env[:box_url]
box_added = env[:box_added]
box_state_file = env[:box_state_file]
# TODO: Persist box_url / provider / datetime
# Mark that we downloaded the box
@logger.info("Adding the box to the state file...")
box_state_file.add_box(box_added, box_url)
@app.call(env)
end