mayn / packer.py Goto Github PK
View Code? Open in Web Editor NEWuse python to run hashicorp packer cli commands
License: Apache License 2.0
use python to run hashicorp packer cli commands
License: Apache License 2.0
Ability to pass json or packer template filepath to Packer command execution
0.3.0
Hidden password
When you run p.build command with the password argument, everyone can see the password in the process status through the build.
root 1987637 0.4 0.8 851920 68344 pts/1 Sl+ 09:43 0:00 /usr/sbin/packer build -var VC_SERVER=vc-server.com -var VC_USERNAME=username -var VC_PASSWORD=visible_password
Currently, you can't see the output of packer.py unless it finishes its job. Is there any way to stream it in real-time to console?
currently commands simply pass through output from packer commands as a tuple.
(ret, out, err) = p.version()
I want to be able to parse in format that allows further manipulation via python.
Add walkthrough docs covering all features
Keyword args need to be unique. This poses a challenge when trying to express var concisely.
Want to be able to pass in dict or list of vars and expand into multiple arguments into packer binary.
Ie packer build -var “myv=first” -var “myv2=second”
Current workaround is to express additional vars as string.
PackerExecutable().build(var=‘“myv=first” -var “myv2=second”’)
self explanatory
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.