From 411106877288499808b9e85fb2b701667be208cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Sat, 23 Nov 2024 04:44:52 +0200 Subject: [PATCH] Add epel-release to dependencies because lsb_release is only available in EPEL --- init.sh | 1 + src/functions/init.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/init.sh b/init.sh index 2ec7a1c..b6f715c 100755 --- a/init.sh +++ b/init.sh @@ -71,6 +71,7 @@ wi-init(){ mkdir -p ~/.ssh/keys &> /dev/null apt-get install -y python3-pip python3-venv jq git curl lsb-release &> /dev/null + dnf install -y epel-release &> /dev/null dnf install -y python3-pip jq git curl lsb_release &> /dev/null python3 -m venv /opt/ansible &> /dev/null /opt/ansible/bin/pip3 install ansible &> /dev/null diff --git a/src/functions/init.sh b/src/functions/init.sh index 8d26828..cdfc7c5 100644 --- a/src/functions/init.sh +++ b/src/functions/init.sh @@ -5,6 +5,7 @@ wi-init(){ mkdir -p ~/.ssh/keys &> /dev/null apt-get install -y python3-pip python3-venv jq git curl lsb-release &> /dev/null + dnf install -y epel-release &> /dev/null dnf install -y python3-pip jq git curl lsb_release &> /dev/null python3 -m venv /opt/ansible &> /dev/null /opt/ansible/bin/pip3 install ansible &> /dev/null