Skip to content

Conversation

@NeilHanlon
Copy link

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/info

The content of this json file is free-form, so there are no specific keys which must be used. Thus, a configuration such as:

<vagrantconfig ...>
<info name="Author">My Name</info>
<info name="URL">https://example.com</info>
</vagrantconfig>

Would become an info.json file:

{
  "Author": "My Name",
  "URL": "https://example.com"
}

@github-actions
Copy link

github-actions bot commented Oct 2, 2025

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.

@github-actions github-actions bot added the stale label Oct 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants