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 21, 2024
1 parent 804da83 commit 104888d
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 104888d

Please sign in to comment.