forked from kubevirt/kubevirt
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
builder: Ensure that we always have nat tables for nftables
CentOS stream does not ship the ipv4-*.nft files like fedora. Therefore shipping the tables directly in the codebase. This also avoids quit fallbacks to iptables where nftables should be used but the files where not present. Signed-off-by: Roman Mohr <rmohr@redhat.com>
- Loading branch information
Showing
3 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
table nat { | ||
chain prerouting { type nat hook prerouting priority -100; } | ||
chain input { type nat hook input priority 100; } | ||
chain output { type nat hook output priority -100; } | ||
chain postrouting { type nat hook postrouting priority 100; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
table ip6 nat { | ||
chain prerouting { type nat hook prerouting priority -100; } | ||
chain input { type nat hook input priority 100; } | ||
chain output { type nat hook output priority -100; } | ||
chain postrouting { type nat hook postrouting priority 100; } | ||
} |