core: Write box information after download
This commit is contained in:
parent
17fd5f9e4e
commit
1443d634c7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue