Enable sctp module in the fullstack Centos node

It is required to use ncat with "--sctp" flag in the fullstack
security group tests.

Change-Id: Id19ee90a1838dbb142b20dae954fbb5c3f0a1370
(cherry picked from commit 99855543e1)
This commit is contained in:
Slawek Kaplonski 2022-03-11 11:42:16 +01:00
parent 10988f4f70
commit e480704a8c

View File

@ -324,6 +324,10 @@ if [[ "$VENV" =~ "dsvm-fullstack" ]]; then
_configure_iptables_rules
# This module only exists on older kernels, built-in otherwise
modinfo ip_conntrack_proto_sctp 1> /dev/null 2>&1 && sudo modprobe ip_conntrack_proto_sctp
if is_fedora; then
install_package kernel-modules-extra-`uname -r`
sudo modprobe sctp
fi
fi
echo "Phew, we're done!"