From 28ef1eae8da20be5d2beecbf16e2517e9c56c19f Mon Sep 17 00:00:00 2001 From: Peter Eckersley Date: Wed, 11 Nov 2015 11:24:41 -0800 Subject: [PATCH] Highly experimental Amazon Linux bootstrapping --- bootstrap/_rpm_common.sh | 2 ++ letsencrypt-auto | 2 ++ 2 files changed, 4 insertions(+) diff --git a/bootstrap/_rpm_common.sh b/bootstrap/_rpm_common.sh index 26b91b8c4..9f670da6e 100755 --- a/bootstrap/_rpm_common.sh +++ b/bootstrap/_rpm_common.sh @@ -16,10 +16,12 @@ else fi # "git-core" seems to be an alias for "git" in CentOS 7 (yum search fails) +# Amazon Linux 2015.03 needs python27-virtualenv rather than python-virtualenv $tool install -y \ git-core \ python \ python-devel \ + python27-virtualenv \ python-virtualenv \ gcc \ dialog \ diff --git a/letsencrypt-auto b/letsencrypt-auto index b9f95ac14..efc29394b 100755 --- a/letsencrypt-auto +++ b/letsencrypt-auto @@ -121,6 +121,8 @@ then ExperimentalBootstrap "FreeBSD" freebsd.sh "$SUDO" elif uname | grep -iq Darwin ; then ExperimentalBootstrap "Mac OS X" mac.sh + elif grep -iq "Amazon Linux" /etc/issue ; then + ExperimentalBootstrap "Amazon Linux" amazon_linux.sh else echo "Sorry, I don't know how to bootstrap Let's Encrypt on your operating system!" echo