Add iptables-persistent for openfaas-edge on Debian-like OSes

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
This commit is contained in:
Alex Ellis (OpenFaaS Ltd) 2025-02-19 11:01:23 +00:00
parent e2758be25e
commit 51f3f87ba1

View File

@ -27,7 +27,7 @@ install_required_packages() {
# other distros. Hence, adding only to this block.
# reference: https://github.com/openfaas/faasd/pull/237
apt-get update -y
apt-get install -y curl runc bridge-utils iptables
apt-get install -y curl runc bridge-utils iptables iptables-persistent
elif $(has_yum); then
yum check-update -y
yum install -y curl runc iptables-services which