-
Notifications
You must be signed in to change notification settings - Fork 264
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
Add Cloud Init installer script #83
base: main
Are you sure you want to change the base?
Conversation
This PR is over two years old. I lack the knowlege to verify the script content. I wonder: What are the standards by which such tools are included in the images or now? As useful as cloudinit is, is it something most people would benefit? And the script is not called anywhere, just added to floppy/. Which makes me assume that all floppy/* scripts are run every time - and I would rather like to have LESS installed by default than more. If the original author is still interested, I'd welcome a different view. If not, we should close this PR. |
At least as beneficial as some of the things that are already included in Boxcutter (OpenSSH, Cygwin, etc), but utility is highly subjective.
The intention is to have it available as something that can be explicitly included if desired. Looking at the example templates, I don't think there is ever an instance where everything in
See above. |
Oh, in this case, this would make a wonderful addition (if this is something that is opt-in). I did not figure out all the workings of this project yet. The script has a similar pattern to the other scripts. No hardcoded credentials or such. So by my limited Powershell knowledge, this looks good to me! I'd love to see some life being brought back into this project. :) |
@dragetd, @Mo3. Sorry that we're getting to this PR soo much later.. Now that I've been invited into helping maintain this repo, I just added some new labels to help prioritize some of these PRs that we've been lagging on. Currently, we do provisioning inside Although if y'all lost interest in maintaining this, I get it and will try and incorporate this specific PR after I get through some of the other PRs/issues. Lmk. |
Due to lack of discussion, I'm marking this PR as stale. This PR will be closed in a few weeks. If you think this is in error, please let me know and I'll keep it open. |
Cloud Init isn't really config management in the sense that the other tools within |
No worries if you don't have the time. Most of the maintainers have moved onto the boxcutter/windows-ps repository, so this particular is kind of left up to the community to maintain and I've been doing a lot of work to try and get as many abandoned PRs merged in as well as standardize some aspects of boxcutter/windows. At the moment, I'm hesitant to add things that require Currently adding stuff to the Something like the following could be used to add a provisioner that's easy to configure in your own fork of the templates.
But anyways, if you haven't moved on yet and are still interested in getting this merged in, I can try and consider a clean way to do this after I get through some of the other prior things I mentioned. Which would you prefer? |
@arizvisa & @m03 - I don't understand why this is in It should be in This is just a really nice example of a script to have in the repo just in case an advanced user wants to use it. You could leave
If the above is not there or or set to nothing then the defaults are used from the script. I think it should be included as is with some supplemental docs that explain this requires a custom Packer Template supplied by the user. |
Hmm. I really like the solution of using wildcards to allow people customize templates for situations such as CloudInit. However, if possible I'd really like to have each PR cover features individually to reduce PRs into just their individual capabilities. It makes things hella easier when testing each feature too, as when I was testing each cm tool, I literally needed to verify that every possible combination worked prior to merge... I'll continue the discussion in PR #229 once I get setup for it. |
@arizvisa When I say as-is I would move it to Not usre I understand the 'However, if possible I'd really like to have each PR cover features individually to reduce PRs into just their individual capabilities'. This pr is one single feature. Unless you are referring to the |
Yes, I'm referring to the |
8d4907d
to
c7296dc
Compare
This PR does the following:
Testing: