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

Bootstrap script should allow alternate destinations for binaries and user-data #87

Open
thinkmassive opened this issue Apr 26, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@thinkmassive
Copy link

Describe the solution you'd like
The bootstrap script is hardcoded to install binaries into /usr/local/bin, and to download user-data into /etc/user-data. This prevents running this script without root permissions, even though none of these artifacts need to be installed system-wide.

Describe alternatives you've considered

  • Manually install the prerequisites (fetch and gruntwork-installer), but this is error-prone.
  • Modify the bootstrap script to use alternate directories (I have done this, PR incoming).

Additional context
This is a minor change that can be accomplished by overriding the default values for two environment variables. It may not be widely used, and would be easily discovered by advanced users upon inspection of the script, so it does not need associated CLI args or even documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant