From 51f88c5c89bdd7acf3831f5a8e85c0789da17676 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Tue, 23 Aug 2016 19:31:38 +0300 Subject: [PATCH] templates: fedora requires openssl binary MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit /usr/share/lxc/templates/lxc-fedora: line 1078: openssl: command not found Signed-off-by: Elan Ruusamäe --- templates/lxc-fedora.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/lxc-fedora.in b/templates/lxc-fedora.in index a83a590b2..88f5ca95c 100644 --- a/templates/lxc-fedora.in +++ b/templates/lxc-fedora.in @@ -1336,6 +1336,10 @@ type curl >/dev/null 2>&1 if [ $? -ne 0 ]; then needed_pkgs="curl $needed_pkgs" fi +type openssl >/dev/null 2>&1 +if [ $? -ne 0 ]; then + needed_pkgs="openssl $needed_pkgs" +fi if [ -n "$needed_pkgs" ]; then echo "Missing commands: $needed_pkgs" -- 2.47.2