mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-18 10:27:00 +02:00
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:
parent
351f85e1b2
commit
42a36fb311
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user