mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-17 18:06:59 +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() {
|
||||
# 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
|
||||
|
Loading…
Reference in New Issue
Block a user