We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e59794d commit 36a159aCopy full SHA for 36a159a
spec/spec_helper_acceptance_local.rb
@@ -71,6 +71,14 @@ def fetch_os_name
71
end
72
LitmusHelper.instance.run_shell('touch /etc/sysconfig/iptables')
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('depmod -a')
76
+ ['xt_bpf'].each do |t|
77
+ LitmusHelper.instance.run_shell("modprobe iptable_#{t}")
78
+ LitmusHelper.instance.run_shell("modprobe ip6table_#{t}")
79
+ end
80
+ LitmusHelper.instance.run_shell('touch /etc/sysconfig/iptables')
81
+ LitmusHelper.instance.run_shell('touch /etc/sysconfig/ip6tables')
82
83
if os[:family] == 'debian'
84
LitmusHelper.instance.run_shell('apt-get update -y')
0 commit comments