-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] cloud-init support #161
Comments
Interesting idea, I've actually never heard of cloud-init before, but its goal seem to overlap significantly with PiBakery so it would be great to integrate the two. I agree that the most ideal outcome would be to have a PiBakery block that can run a cloud-init script, however this may need a few fundamental changes to PiBakery, as currently you can't attach a file to a block and have that "uploaded" to the Pi; you currently have to move the file manually to /boot (or use the download-file block) and then reference the file's path in the cloud-init block. This is a highly requested feature, so I'll see if it can be added into v2 before it becomes non-beta. |
Sounds great! Yes, I just started digging into the PiBakery code and found out, that it's not possible to copy a local file into the SD. I am not familiar with Last question: Why does exist a duplicate (redundant) So my idea is, to provide a checkbox and textfield within PiBakery where developers can decide to use a local path or their Github username like in the screenshot below. A simple API call to the regarding github repo results in a list of possible Versions. (https://api.github.com/repos/davidferguson/pibakery-blocks/releases). So a version can be specified to work with. |
In PiBakery v1 you could drag-drop a block you had written onto the PiBakery window, and it would load that for testing. This doesn't (yet!) exist in PiBakery v2, but will be added in the future. A new (but currently hidden) feature of PiBakery v2 is the ability to use multiple block repos, rather than being forced to only use the davidferguson/pibakery-blocks one. If you look in settings.js, you'll see there's an array called |
Only wanna know if you had time to make progress on V2? |
Well that didn't really work out! Sorry about that, and have a read of https://pibakery.org/future.html for more info on the future of PiBakery. If I do go forward and re-write a majority of PiBakery for v3, then I'd love to include cloud-init support. I've never used it and am not really familiar with it, so if you want to jump in on #180 and discuss the best ways of doing that, that would be awesome. |
It would be nice when V2 will implement/provide the widely used
cloud-init
tool. Maybe in form of a block, where the User can choose a customized "cloud-config.yaml"Something like this:
I now try to figure out how to install it and will report!
The text was updated successfully, but these errors were encountered: