Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
parameters

Replace 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)