File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,15 @@ def fetch_os_name
71
71
end
72
72
LitmusHelper . instance . run_shell ( 'touch /etc/sysconfig/iptables' )
73
73
LitmusHelper . instance . run_shell ( 'touch /etc/sysconfig/ip6tables' )
74
+ elsif [ 'almalinux-8' , 'rocky-8' ] . include? ( "#{ fetch_os_name } -#{ os [ :release ] . to_i } " )
75
+ LitmusHelper . instance . run_shell ( 'yum update -y' )
76
+ LitmusHelper . instance . run_shell ( 'depmod -a' )
77
+ [ 'xt_bpf' ] . each do |t |
78
+ LitmusHelper . instance . run_shell ( "modprobe iptable_#{ t } " )
79
+ LitmusHelper . instance . run_shell ( "modprobe ip6table_#{ t } " )
80
+ end
81
+ LitmusHelper . instance . run_shell ( 'touch /etc/sysconfig/iptables' )
82
+ LitmusHelper . instance . run_shell ( 'touch /etc/sysconfig/ip6tables' )
74
83
end
75
84
if os [ :family ] == 'debian'
76
85
LitmusHelper . instance . run_shell ( 'apt-get update -y' )
You can’t perform that action at this time.
0 commit comments