57f8b9bc6a
When preparing the migration from macvlan to veth for local-node, MAC address conflicts occurred as some ports of br-client had the same address as local-node. Reverting the roles of both interfaces fixes this. By default, br-client is left as an interface without addresses and firewall rules that drop everything, so the bridge is used to connect its ports only. gluon-mesh-batman-adv-core changes this to the usual set of addresses and firewall rules.
15 lines
262 B
Lua
Executable File
15 lines
262 B
Lua
Executable File
#!/usr/bin/lua
|
|
|
|
local uci = require('simple-uci').cursor()
|
|
|
|
uci:delete('alfred', 'alfred')
|
|
uci:section('alfred', 'alfred', 'alfred', {
|
|
interface = 'br-client',
|
|
mode = 'slave',
|
|
batmanif = 'bat0',
|
|
start_vis = true,
|
|
run_facters = false,
|
|
})
|
|
|
|
uci:save('alfred')
|