freifunk: DRY
This commit is contained in:
parent
cc10aadbbb
commit
25c0c05a5a
|
@ -104,17 +104,12 @@ in {
|
||||||
"2a02:8106:208:5281:8000::1/64"
|
"2a02:8106:208:5281:8000::1/64"
|
||||||
"fd23:42:c3d2:581:8000::1/64"
|
"fd23:42:c3d2:581:8000::1/64"
|
||||||
];
|
];
|
||||||
routes = [ {
|
routes = map (Gateway: { routeConfig = { inherit Gateway; }; }) [
|
||||||
routeConfig = {
|
|
||||||
# upstream1
|
# upstream1
|
||||||
Gateway = "2a02:8106:208:5281::b:0";
|
"2a02:8106:208:5281::b:0"
|
||||||
};
|
|
||||||
} {
|
|
||||||
routeConfig = {
|
|
||||||
# anon1
|
# anon1
|
||||||
Gateway = "172.20.72.7";
|
"172.20.72.7"
|
||||||
};
|
];
|
||||||
} ];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user