mirror of
https://github.com/openfaas/faasd.git
synced 2025-06-23 07:13:23 +00:00
Updated install.sh to include iptables
iptables dependency is required for debian bullseye support Signed-off-by: Ramesh Vijayaraghavan <rvramesh@gmail.com>
This commit is contained in:
committed by
Alex Ellis
parent
f74f5e6a4f
commit
b807ff0725
@ -46,13 +46,13 @@ has_pacman() {
|
|||||||
install_required_packages() {
|
install_required_packages() {
|
||||||
if $(has_apt_get); then
|
if $(has_apt_get); then
|
||||||
$SUDO apt-get update -y
|
$SUDO apt-get update -y
|
||||||
$SUDO apt-get install -y curl runc bridge-utils
|
$SUDO apt-get install -y curl runc bridge-utils iptables
|
||||||
elif $(has_yum); then
|
elif $(has_yum); then
|
||||||
$SUDO yum check-update -y
|
$SUDO yum check-update -y
|
||||||
$SUDO yum install -y curl runc
|
$SUDO yum install -y curl runc iptables
|
||||||
elif $(has_pacman); then
|
elif $(has_pacman); then
|
||||||
$SUDO pacman -Syy
|
$SUDO pacman -Syy
|
||||||
$SUDO pacman -Sy curl runc bridge-utils
|
$SUDO pacman -Sy curl runc bridge-utils iptables
|
||||||
else
|
else
|
||||||
fatal "Could not find apt-get, yum, or pacman. Cannot install dependencies on this OS."
|
fatal "Could not find apt-get, yum, or pacman. Cannot install dependencies on this OS."
|
||||||
exit 1
|
exit 1
|
||||||
|
Reference in New Issue
Block a user