cleanup systemd-networkd configs

This commit is contained in:
Adithya 2024-12-07 19:18:06 +05:30
parent 1072924034
commit 4a2f55e11d
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C
6 changed files with 174 additions and 15 deletions

View file

@ -6,11 +6,37 @@
enable = true;
wait-online.enable = false;
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;
matchConfig = {
Type = "ether";
Name = "e*";
};
networkConfig = {
DHCP = "yes";
@ -18,9 +44,13 @@
};
dhcpV4Config = {
UseDomains = true;
RouteMetric = 100;
};
ipv6AcceptRAConfig = {
RouteMetric = 100;
};
linkConfig = {
RequiredForOnline = "yes";
RequiredForOnline = "routable";
};
};
};

View file

@ -6,11 +6,37 @@
enable = true;
wait-online.enable = false;
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;
matchConfig = {
Type = "ether";
Name = "e*";
};
networkConfig = {
DHCP = "yes";
@ -18,9 +44,13 @@
};
dhcpV4Config = {
UseDomains = true;
RouteMetric = 100;
};
ipv6AcceptRAConfig = {
RouteMetric = 100;
};
linkConfig = {
RequiredForOnline = "yes";
RequiredForOnline = "routable";
};
};
};

View file

@ -6,11 +6,37 @@
enable = true;
wait-online.enable = false;
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;
matchConfig = {
Type = "ether";
Name = "e*";
};
networkConfig = {
DHCP = "yes";
@ -18,9 +44,13 @@
};
dhcpV4Config = {
UseDomains = true;
RouteMetric = 100;
};
ipv6AcceptRAConfig = {
RouteMetric = 100;
};
linkConfig = {
RequiredForOnline = "yes";
RequiredForOnline = "routable";
};
};
};

View file

@ -6,11 +6,37 @@
enable = true;
wait-online.enable = false;
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;
matchConfig = {
Type = "ether";
Name = "e*";
};
networkConfig = {
DHCP = "yes";
@ -18,9 +44,13 @@
};
dhcpV4Config = {
UseDomains = true;
RouteMetric = 100;
};
ipv6AcceptRAConfig = {
RouteMetric = 100;
};
linkConfig = {
RequiredForOnline = "yes";
RequiredForOnline = "routable";
};
};
};

View file

@ -42,6 +42,15 @@
Unmanaged = true;
};
};
"23-vnet" = {
matchConfig = {
Name = "vnet*";
Type = "ether";
};
linkConfig = {
Unmanaged = true;
};
};
"40-ether" = {
enable = true;
matchConfig = {

View file

@ -6,11 +6,37 @@
enable = true;
wait-online.enable = false;
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;
matchConfig = {
Type = "ether";
Name = "e*";
};
networkConfig = {
DHCP = "yes";
@ -18,9 +44,13 @@
};
dhcpV4Config = {
UseDomains = true;
RouteMetric = 100;
};
ipv6AcceptRAConfig = {
RouteMetric = 100;
};
linkConfig = {
RequiredForOnline = "yes";
RequiredForOnline = "routable";
};
};
};