chef / bento

Packer templates for building minimal Vagrant baseboxes for multiple platforms
Apache License 2.0
4.22k stars 1.12k forks source link

added vagrant upload account configuration in builds.yml #1522

Closed Stromweld closed 9 months ago

Stromweld commented 10 months ago

Description

added vagrant upload account configuration in builds.yml and defaulting hyperv to generation 2

Types of changes

Checklist:

hunleyd commented 10 months ago

hey @Stromweld for those of us who use this repo to manage our own 'fleet' of Vagrant images for our company.. do you have plans to expand this PR to allow us to specify the account name and if the box should be public/private? Or is this just for bento use and we should continue to use our current upload logic?

Stromweld commented 10 months ago

Once this is merged in the builds.yml file you can specify the account you want vagrant to upload the boxes to. it'll default to bento but if you manage your own fork then you can change it to your account. You simply need to have logged-in to the account with the vagrant cli for the session token. Bento is simply then running vagrant cloud plublish <acct_name>/<box_name> command. You'll get the same box names and descriptions as the bento released ones though.

Stromweld commented 10 months ago

Currently it's publishing all boxes publicly but I can add to it the ability to define in the builds.yml file which will be public and default to private otherwise.

sonarcloud[bot] commented 9 months ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication