From e99c49d4e598b8e382d6e2c31d267f4bc03dba8c Mon Sep 17 00:00:00 2001 From: albertkohl-monotek Date: Wed, 17 Feb 2021 16:51:03 -0700 Subject: [PATCH] Fixes #162 Adds Sudo to ipv4 forwarding updated install.sh to SUDO for /sbin/sysctl -w net.ipv4.conf.all.forwarding=1 this prevents permission issue on ubuntu Signed-off-by: albertkohl-monotek --- hack/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/install.sh b/hack/install.sh index 8ea5d1b..c4117f2 100755 --- a/hack/install.sh +++ b/hack/install.sh @@ -189,7 +189,7 @@ install_faas_cli() { verify_system install_required_packages -/sbin/sysctl -w net.ipv4.conf.all.forwarding=1 +$SUDO /sbin/sysctl -w net.ipv4.conf.all.forwarding=1 echo "net.ipv4.conf.all.forwarding=1" | $SUDO tee -a /etc/sysctl.conf install_cni_plugins