Skip to content

Commit a0837e1

Browse files
authored
Merge pull request #142 from stackhpc/iptables_ubuntu_fix_master
fix for iptables install for debian family distros
2 parents 2010bd5 + dc5d16d commit a0837e1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

configure-local-networking.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ fi
3333

3434
if $(which apt >/dev/null 2>&1); then
3535
sudo apt -y install iptables
36+
else
37+
sudo apt update
38+
sudo apt -y install iptables
3639
fi
3740

3841
# Configure local networking.

0 commit comments

Comments
 (0)