From 2b1b84f8a641dc319d0d1f500cc60f12a9d6146e Mon Sep 17 00:00:00 2001 From: "Han Verstraete (OpenFaaS Ltd)" Date: Tue, 20 May 2025 14:14:50 +0200 Subject: [PATCH 1/2] Rename missed has_yum reference to has_dnf Signed-off-by: Han Verstraete (OpenFaaS Ltd) --- hack/install-edge.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/install-edge.sh b/hack/install-edge.sh index 87fc5b3c..27c8c151 100644 --- a/hack/install-edge.sh +++ b/hack/install-edge.sh @@ -65,7 +65,7 @@ echo "" if [ ! -x "$(command -v arkade)" ]; then # For Centos, RHEL, Fedora, Amazon Linux, and Oracle Linux, use BINLOCATION=/usr/bin/ - if $(has_yum); then + if $(has_dnf); then BINLOCATION=/usr/bin/ fi From a13783510117c7561094ce176391577a56182cb2 Mon Sep 17 00:00:00 2001 From: "Han Verstraete (OpenFaaS Ltd)" Date: Tue, 20 May 2025 14:16:41 +0200 Subject: [PATCH 2/2] Add bridge-utils to RHEL packages Signed-off-by: Han Verstraete (OpenFaaS Ltd) --- hack/install-edge.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/install-edge.sh b/hack/install-edge.sh index 27c8c151..5475f9b3 100644 --- a/hack/install-edge.sh +++ b/hack/install-edge.sh @@ -38,7 +38,7 @@ install_required_packages() { apt-get update -yq apt-get install -yq curl runc bridge-utils iptables iptables-persistent elif $(has_dnf); then - dnf install -y curl runc iptables-services which + dnf install -y curl runc iptables-services bridge-utils which elif $(has_pacman); then pacman -Syy pacman -Sy curl runc bridge-utils