lvillani / vagrant-metadata Goto Github PK
View Code? Open in Web Editor NEWCreates and updates Vagrant box metadata files (metadata.json)
License: MIT License
Creates and updates Vagrant box metadata files (metadata.json)
License: MIT License
Hi,
When vagrant-metadata incurs an error (e.g. emtpy directory in provider)
+ vagrant-metadata
Traceback (most recent call last):
File "/usr/local/bin/vagrant-metadata", line 87, in <module>
main()
File "/usr/local/bin/vagrant-metadata", line 61, in main
json.dump(process_directory(".", metadata, args.force), f, indent=4)
File "/usr/local/lib/python2.7/dist-packages/vagrant_metadata.py", line 61, in process_directory
box = box_in(provider_dir)
File "/usr/local/lib/python2.7/dist-packages/vagrant_metadata.py", line 84, in box_in
raise BoxCountError("Was expecting exactly one box: %s" % path)
vagrant_metadata.BoxCountError: Was expecting exactly one box: ./1.0.1443518668/virtualbox
The resulting json file is empty. It would be better leave the original json file untouched.
Great project, thanks, I'm going to use it as part of my Packer toolchain. I thought I'd mention I changed it a bit for my own use case, like this
https://github.com/beddari/vagrant-metadata/commit/8bb39049dc8188cd4b73ef2eb2a3a1819b16c271
I think this is even simpler :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.