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 <albert.kohl@mono-tek.com>
This commit is contained in:
albertkohl-monotek 2021-02-17 16:51:03 -07:00 committed by Alex Ellis
parent 7f39890963
commit e99c49d4e5

View File

@ -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