remove deprecated networkd configuration

This commit is contained in:
Jörg Thalheim 2024-07-06 11:26:49 +02:00 committed by mergify[bot]
parent b7fef32216
commit 5e671e2025

View File

@ -44,13 +44,11 @@ in
]; ];
routes = [ routes = [
# create default routes for both IPv6 and IPv4 # create default routes for both IPv6 and IPv4
{ routeConfig.Gateway = "fe80::1"; } { Gateway = "fe80::1"; }
# or when the gateway is not on the same network # or when the gateway is not on the same network
{ {
routeConfig = { Gateway = "172.31.1.1";
Gateway = "172.31.1.1"; GatewayOnLink = true;
GatewayOnLink = true;
};
} }
]; ];
# make the routes on this interface a dependency for network-online.target # make the routes on this interface a dependency for network-online.target