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:
parent
2eff5cef0a
commit
803ab7bd47
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in New Issue