Add section to get a container vlan net device.

It's not working or useful yet, but I think it's moving in that
direction.
This commit is contained in:
Eli Ribble 2024-08-21 09:30:47 -07:00
parent 2eff5cef0a
commit 803ab7bd47
1 changed files with 9 additions and 0 deletions

View File

@ -275,6 +275,15 @@
system.stateVersion = "24.05"; # Did you read the comment? system.stateVersion = "24.05"; # Did you read the comment?
systemd.network.enable = true; systemd.network.enable = true;
systemd.network.netdevs."00-container-vlan" = {
netdevConfig = {
Name = "podman-container-vlan";
Kind = "vlan";
};
vlanConfig = {
Id = 1;
};
};
systemd.network.networks."10-wan" = { systemd.network.networks."10-wan" = {
matchConfig.Name = "enp2s0"; matchConfig.Name = "enp2s0";
networkConfig = { networkConfig = {