cleanup systemd-networkd configs

This commit is contained in:
Adithya 2024-12-07 19:18:06 +05:30
parent f99f284869
commit f8373b5351
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C
5 changed files with 165 additions and 15 deletions

View file

@ -6,11 +6,37 @@
enable = true; enable = true;
wait-online.enable = false; wait-online.enable = false;
networks = { networks = {
"41-ether" = { "20-virbr" = {
matchConfig = {
Name = "virbr*";
Type = "bridge";
};
linkConfig = {
Unmanaged = true;
};
};
"21-docker" = {
matchConfig = {
Name = "docker*";
Type = "bridge";
};
linkConfig = {
Unmanaged = true;
};
};
"22-veth" = {
matchConfig = {
Name = "veth*";
Type = "ether";
};
linkConfig = {
Unmanaged = true;
};
};
"40-ether" = {
enable = true; enable = true;
matchConfig = { matchConfig = {
Type = "ether"; Type = "ether";
Name = "e*";
}; };
networkConfig = { networkConfig = {
DHCP = "yes"; DHCP = "yes";
@ -18,9 +44,13 @@
}; };
dhcpV4Config = { dhcpV4Config = {
UseDomains = true; UseDomains = true;
RouteMetric = 100;
};
ipv6AcceptRAConfig = {
RouteMetric = 100;
}; };
linkConfig = { linkConfig = {
RequiredForOnline = "yes"; RequiredForOnline = "routable";
}; };
}; };
}; };

View file

@ -6,11 +6,37 @@
enable = true; enable = true;
wait-online.enable = false; wait-online.enable = false;
networks = { networks = {
"41-ether" = { "20-virbr" = {
matchConfig = {
Name = "virbr*";
Type = "bridge";
};
linkConfig = {
Unmanaged = true;
};
};
"21-docker" = {
matchConfig = {
Name = "docker*";
Type = "bridge";
};
linkConfig = {
Unmanaged = true;
};
};
"22-veth" = {
matchConfig = {
Name = "veth*";
Type = "ether";
};
linkConfig = {
Unmanaged = true;
};
};
"40-ether" = {
enable = true; enable = true;
matchConfig = { matchConfig = {
Type = "ether"; Type = "ether";
Name = "e*";
}; };
networkConfig = { networkConfig = {
DHCP = "yes"; DHCP = "yes";
@ -18,9 +44,13 @@
}; };
dhcpV4Config = { dhcpV4Config = {
UseDomains = true; UseDomains = true;
RouteMetric = 100;
};
ipv6AcceptRAConfig = {
RouteMetric = 100;
}; };
linkConfig = { linkConfig = {
RequiredForOnline = "yes"; RequiredForOnline = "routable";
}; };
}; };
}; };

View file

@ -6,11 +6,37 @@
enable = true; enable = true;
wait-online.enable = false; wait-online.enable = false;
networks = { networks = {
"41-ether" = { "20-virbr" = {
matchConfig = {
Name = "virbr*";
Type = "bridge";
};
linkConfig = {
Unmanaged = true;
};
};
"21-docker" = {
matchConfig = {
Name = "docker*";
Type = "bridge";
};
linkConfig = {
Unmanaged = true;
};
};
"22-veth" = {
matchConfig = {
Name = "veth*";
Type = "ether";
};
linkConfig = {
Unmanaged = true;
};
};
"40-ether" = {
enable = true; enable = true;
matchConfig = { matchConfig = {
Type = "ether"; Type = "ether";
Name = "e*";
}; };
networkConfig = { networkConfig = {
DHCP = "yes"; DHCP = "yes";
@ -18,9 +44,13 @@
}; };
dhcpV4Config = { dhcpV4Config = {
UseDomains = true; UseDomains = true;
RouteMetric = 100;
};
ipv6AcceptRAConfig = {
RouteMetric = 100;
}; };
linkConfig = { linkConfig = {
RequiredForOnline = "yes"; RequiredForOnline = "routable";
}; };
}; };
}; };

View file

@ -6,11 +6,37 @@
enable = true; enable = true;
wait-online.enable = false; wait-online.enable = false;
networks = { networks = {
"41-ether" = { "20-virbr" = {
matchConfig = {
Name = "virbr*";
Type = "bridge";
};
linkConfig = {
Unmanaged = true;
};
};
"21-docker" = {
matchConfig = {
Name = "docker*";
Type = "bridge";
};
linkConfig = {
Unmanaged = true;
};
};
"22-veth" = {
matchConfig = {
Name = "veth*";
Type = "ether";
};
linkConfig = {
Unmanaged = true;
};
};
"40-ether" = {
enable = true; enable = true;
matchConfig = { matchConfig = {
Type = "ether"; Type = "ether";
Name = "e*";
}; };
networkConfig = { networkConfig = {
DHCP = "yes"; DHCP = "yes";
@ -18,9 +44,13 @@
}; };
dhcpV4Config = { dhcpV4Config = {
UseDomains = true; UseDomains = true;
RouteMetric = 100;
};
ipv6AcceptRAConfig = {
RouteMetric = 100;
}; };
linkConfig = { linkConfig = {
RequiredForOnline = "yes"; RequiredForOnline = "routable";
}; };
}; };
}; };

View file

@ -6,11 +6,37 @@
enable = true; enable = true;
wait-online.enable = false; wait-online.enable = false;
networks = { networks = {
"41-ether" = { "20-virbr" = {
matchConfig = {
Name = "virbr*";
Type = "bridge";
};
linkConfig = {
Unmanaged = true;
};
};
"21-docker" = {
matchConfig = {
Name = "docker*";
Type = "bridge";
};
linkConfig = {
Unmanaged = true;
};
};
"22-veth" = {
matchConfig = {
Name = "veth*";
Type = "ether";
};
linkConfig = {
Unmanaged = true;
};
};
"40-ether" = {
enable = true; enable = true;
matchConfig = { matchConfig = {
Type = "ether"; Type = "ether";
Name = "e*";
}; };
networkConfig = { networkConfig = {
DHCP = "yes"; DHCP = "yes";
@ -18,9 +44,13 @@
}; };
dhcpV4Config = { dhcpV4Config = {
UseDomains = true; UseDomains = true;
RouteMetric = 100;
};
ipv6AcceptRAConfig = {
RouteMetric = 100;
}; };
linkConfig = { linkConfig = {
RequiredForOnline = "yes"; RequiredForOnline = "routable";
}; };
}; };
}; };