From b89c334997e847fd137d258ab01c2ac6dcb55f18 Mon Sep 17 00:00:00 2001 From: Sanjay Mijar Date: Wed, 2 Feb 2022 21:39:50 -0800 Subject: [PATCH] #1481- added amzn to list of supported distros we can install to --- km-releases/kontain-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/km-releases/kontain-install.sh b/km-releases/kontain-install.sh index 1981a2d46..71c9ae67a 100755 --- a/km-releases/kontain-install.sh +++ b/km-releases/kontain-install.sh @@ -25,7 +25,7 @@ set -e; [ "$TRACE" ] && set -x [ `id -u` != "0" ] && echo "Must run as root" && exit 1 source /etc/os-release -[ "$ID" != "fedora" -a "$ID" != "ubuntu" ] && echo "Unsupported linux distribution: $ID" && exit 1 +[ "$ID" != "fedora" -a "$ID" != "ubuntu" -a "$ID" != "amzn" ] && echo "Unsupported linux distribution: $ID" && exit 1 readonly TAG=${1:-$(curl -L -s https://raw.githubusercontent.com/kontainapp/km/current/km-releases/current_release.txt)} if [[ $TAG = latest ]] ; then