We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d0d4e1 commit e375f00Copy full SHA for e375f00
1 file changed
_scripts/install.sh
@@ -44,11 +44,13 @@ function install_helm {
44
}
45
46
function configure_os {
47
- iptables -F
48
- iptables -X
49
- iptables -F -t nat
50
- iptables -X -t nat
51
- iptables -P FORWARD ACCEPT
+ if [[ "$(command -v iptables)" != "" ]] ; then
+ iptables -F
+ iptables -X
+ iptables -F -t nat
+ iptables -X -t nat
52
+ iptables -P FORWARD ACCEPT
53
+ fi
54
swapoff -a
55
sed -i '/ swap / s/^\(.*\)$/#\1/g' /etc/fstab
56
mount bpffs -t bpf /sys/fs/bpf
0 commit comments