Skip to content

Commit

Permalink
Fixed issues with bastion_bootstrap on newer instances
Browse files Browse the repository at this point in the history
  • Loading branch information
Stickle committed Feb 5, 2018
1 parent 2bfdae9 commit 9fb76df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bastion_bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function osrelease () {
OS=`cat /etc/os-release | grep '^NAME=' | tr -d \" | sed 's/\n//g' | sed 's/NAME=//g'`
if [ "$OS" == "Ubuntu" ]; then
echo "Ubuntu"
elif [ "$OS" == "Amazon Linux AMI" ]; then
elif [ "$OS" == "Amazon Linux" ]; then
echo "AMZN"
elif [ "$OS" == "CentOS Linux" ]; then
echo "CentOS"
Expand Down
2 changes: 1 addition & 1 deletion guardduty-tester.template
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@
},
"commands": {
"b-bootstrap": {
"command": {
"command": {
"Fn::Join": [
"",
[
Expand Down

0 comments on commit 9fb76df

Please sign in to comment.