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
7171 end
7272 LitmusHelper . instance . run_shell ( 'touch /etc/sysconfig/iptables' )
7373 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' )
7483 end
7584 if os [ :family ] == 'debian'
7685 LitmusHelper . instance . run_shell ( 'apt-get update -y' )
You can’t perform that action at this time.
0 commit comments