Skip to content

Commit

Permalink
Update firewalld_loopback_traffic_trusted for bootable containers
Browse files Browse the repository at this point in the history
  • Loading branch information
matusmarhefka committed Nov 22, 2024
1 parent 5d23e32 commit af81fc2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

{{{ bash_package_install("firewalld") }}}

if {{{ in_chrooted_environment }}}; then
if {{{ in_chrooted_environment }}} || {{{ bash_bootc_build() }}}; then
firewall-offline-cmd --zone=trusted --add-interface=lo
elif systemctl is-active firewalld; then
firewall-cmd --permanent --zone=trusted --add-interface=lo
Expand Down

0 comments on commit af81fc2

Please sign in to comment.