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() {
# Flatcar: Use the xtables-nft-multi to use the nft_backend instead of the legacy
if ! eselect ebtables show &>/dev/null; then
elog "Current ebtables implementation is unset, setting to ebtables-legacy"
eselect ebtables set ebtables-legacy
elog "Current ebtables implementation is unset, setting to xtables-nft-multi"
eselect ebtables set xtables-nft-multi
fi
eselect ebtables show