File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,16 @@ def fetch_os_name
6161 c . filter_run_excluding condition_parameter_test : false
6262 c . before :suite do
6363 # Depmod is not availible by default on our AlmaLinux/CentOS 8 docker image
64- LitmusHelper . instance . run_shell ( 'yum install kmod -y' ) if [ 'almalinux-8' , 'centos-8' ] . include? ( "#{ fetch_os_name } -#{ os [ :release ] . to_i } " )
64+ if [ 'almalinux-8' , 'centos-8' , 'rocky-8' ] . include? ( "#{ fetch_os_name } -#{ os [ :release ] . to_i } " )
65+ LitmusHelper . instance . run_shell ( 'yum install kmod -y' )
66+ LitmusHelper . instance . run_shell ( 'yum update -y' )
67+ LitmusHelper . instance . run_shell ( 'depmod -a' )
68+ [ 'xt_bpf' ] . each do |t |
69+ LitmusHelper . instance . run_shell ( "modprobe #{ t } " )
70+ end
71+ LitmusHelper . instance . run_shell ( 'touch /etc/sysconfig/iptables' )
72+ LitmusHelper . instance . run_shell ( 'touch /etc/sysconfig/ip6tables' )
73+ end
6574 if [ 'centos-7' , 'scientific-7' ] . include? ( "#{ fetch_os_name } -#{ os [ :release ] . to_i } " )
6675 LitmusHelper . instance . run_shell ( 'yum update -y' )
6776 LitmusHelper . instance . run_shell ( 'depmod -a' )
You can’t perform that action at this time.
0 commit comments