WIP: vagrant/base: add support for info.json inside boxes#2828
WIP: vagrant/base: add support for info.json inside boxes#2828NeilHanlon wants to merge 1 commit intoOSInside:mainfrom
Conversation
WIP: vagrantconfig-info tests
|
This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed as part of the community meeting. |
|
@NeilHanlon Hi, sorry to bother you but do you still plan to finish this draft PR or is it rather a candidate that can be closed ? Please advise. Thanks much |
Not a bother at all. I'll clean this up in the next few weeks to submit. |
|
This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed as part of the community meeting. |
@NeilHanlon Any news ? |
n.b., I am very open to changing the interface if a different method is preferred, apologies in advance for not discussing before writing the implementation but my brain wanted to see it through :D
WIP, need to write some (more) tests.
This change introduces a new
<info>subelement to the<vagrantconfig>element which, if defined in a description, would populate the info.json file inside a vagrant box. This file is used by vagrant when displaying information about boxes on the system: https://developer.hashicorp.com/vagrant/docs/boxes/infoThe content of this json file is free-form, so there are no specific keys which must be used. Thus, a configuration such as:
Would become an info.json file: