net-firewall/ebtables: Apply the Flatcar patches

- set ebtables to use xtables-nft-multi instead of legacy

Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
This commit is contained in:
Sayan Chowdhury 2021-09-21 10:48:16 +00:00
parent 351f85e1b2
commit 42a36fb311

View File

@ -87,9 +87,10 @@ src_install() {
} }
pkg_postinst() { pkg_postinst() {
# Flatcar: Use the xtables-nft-multi to use the nft_backend instead of the legacy
if ! eselect ebtables show &>/dev/null; then if ! eselect ebtables show &>/dev/null; then
elog "Current ebtables implementation is unset, setting to ebtables-legacy" elog "Current ebtables implementation is unset, setting to xtables-nft-multi"
eselect ebtables set ebtables-legacy eselect ebtables set xtables-nft-multi
fi fi
eselect ebtables show eselect ebtables show