项目作者: toshke

项目描述 :
Simple bourne shell wrapper written in Go
高级语言: Go
项目地址: git://github.com/toshke/go-bash-wrapper.git
创建时间: 2020-05-06T12:11:47Z
项目社区:https://github.com/toshke/go-bash-wrapper

开源协议:

下载


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