Skip to content

Commit

Permalink
Try removing the iptables raw dynamic chain for the tegra
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorific committed Sep 19, 2024
1 parent ace5333 commit 6e7bd93
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion cookbooks/boxcutter_init/recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,17 @@

node.default['fb_ipset']['auto_cleanup'] = false
include_recipe 'fb_ipset'
unless node['kernel']['machine'] == 'aarch64'
if node['kernel']['machine'] == 'aarch64'
# tegras don't include the iptable_raw module by default
include_recipe 'fb_iptables'

ruby_block 'remove iptables raw dynamic chain' do
block do
node.rm('iptables', 'dynamic_chains', 'raw')
end
end
else
include_recipe 'fb_iptables'
end
end
# if node.linux? && !node.container?
Expand Down

0 comments on commit 6e7bd93

Please sign in to comment.