Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/toshke/go-bash-wrapper
Simple bourne shell wrapper written in Go
https://github.com/toshke/go-bash-wrapper
bash bashrc go golang ssm-agent wrapper
Last synced: 8 days ago
JSON representation
Simple bourne shell wrapper written in Go
- Host: GitHub
- URL: https://github.com/toshke/go-bash-wrapper
- Owner: toshke
- Created: 2020-05-06T12:11:47.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-05-06T21:54:57.000Z (over 4 years ago)
- Last Synced: 2023-05-02T13:58:34.070Z (over 1 year ago)
- Topics: bash, bashrc, go, golang, ssm-agent, wrapper
- Language: Go
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Go bash wrapper
- Forwards CLI arguments to `/bin/bash`
- Adds `GO_SH_WRAPPER` environment variable
## But, why?Amazon ssm-agent by default runs with `sh` command and such does
does not process user home-directory startup files like `~/.bashrc`.
This wrapper is stop-gap fix until ssm-agent supports more configuration
parametersReplace standard `/bin/sh` with `sh` file produce by running `make build`
on your ec2 instance[Relevant discussion](https://github.com/aws/amazon-ssm-agent/pull/171)