Skip to content

Commit

Permalink
Remove chain before executing recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorific committed Sep 19, 2024
1 parent 8dfcd49 commit 9fe2d24
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cookbooks/boxcutter_init/recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,7 @@

node.default['fb_ipset']['auto_cleanup'] = false
include_recipe 'fb_ipset'

include_recipe 'fb_iptables'

if node['kernel']['machine'] == 'aarch64'
# tegras don't include the iptable_raw module by default
ruby_block 'remove iptables raw dynamic chain' do
Expand All @@ -140,6 +139,8 @@
end
end
end

include_recipe 'fb_iptables'
end
# if node.linux? && !node.container?
# include_recipe 'fb_chrony'
Expand Down

0 comments on commit 9fe2d24

Please sign in to comment.