Skip to content
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 a script that generates a demo configuration on Windows #1476

Closed
Tracked by #1474 ...
dblock opened this issue Oct 27, 2021 · 4 comments
Closed
Tracked by #1474 ...

Add a script that generates a demo configuration on Windows #1476

dblock opened this issue Oct 27, 2021 · 4 comments
Labels
enhancement New feature or request triaged Issues labeled as 'Triaged' have been reviewed and are deemed actionable. windows

Comments

@dblock
Copy link
Member

dblock commented Oct 27, 2021

Is your feature request related to a problem? Please describe.
We have https://github.com/opensearch-project/security/blob/main/tools/install_demo_configuration.sh that works on *nix.

Describe the solution you'd like
A similar install_demo_configuration.bat that works on Windows.

Additional context
Coming from #1474 and opensearch-project/opensearch-build#828. The distribution includes a shell script to configure a plain .zip distribution of the product. It doesn't work on Windows, unclear how to get started to get a working distribution.

@dblock dblock added enhancement New feature or request windows labels Oct 27, 2021
@dblock dblock mentioned this issue Oct 27, 2021
4 tasks
@jcgraybill
Copy link

FWIW, for Open Distro, it looks like the build ran this script on Linux build hosts then copied the resulting files into the zip. https://github.com/opendistro-for-elasticsearch/opendistro-build/blob/main/elasticsearch/windows/opendistro-windows-build.sh

@dblock
Copy link
Member Author

dblock commented Oct 28, 2021

FWIW, for Open Distro, it looks like the build ran this script on Linux build hosts then copied the resulting files into the zip. https://github.com/opendistro-for-elasticsearch/opendistro-build/blob/main/elasticsearch/windows/opendistro-windows-build.sh

Thanks, that’s helpful. That has the drawback that anyone getting the windows distribution has to get rid of the config to run a production environment.

@dblock
Copy link
Member Author

dblock commented Oct 28, 2021

I was able to successfully run plugins/opensearch-security/tools/install_demo_configuration.sh on Windows in a bash shell. That's obviously not good enough for Windows users, but provides some workaround to get started.

@davidlago davidlago added the triaged Issues labeled as 'Triaged' have been reviewed and are deemed actionable. label Oct 10, 2022
@cwperks
Copy link
Member

cwperks commented Jul 21, 2023

Closing this issue. This was added in #2161

@cwperks cwperks closed this as completed Jul 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request triaged Issues labeled as 'Triaged' have been reviewed and are deemed actionable. windows
Projects
None yet
Development

No branches or pull requests

4 participants