change to mcvlans
This commit is contained in:
parent
aac55293a4
commit
59ee7435b2
2 changed files with 4 additions and 7 deletions
|
|
@ -101,9 +101,7 @@ in
|
||||||
extraFlags = [ "-U" ];
|
extraFlags = [ "-U" ];
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
ephemeral = true;
|
ephemeral = true;
|
||||||
privateNetwork = true;
|
macvlans = [ "vserver" ];
|
||||||
hostBridge = "server";
|
|
||||||
localAddress = "10.42.97.2/24";
|
|
||||||
bindMounts = {
|
bindMounts = {
|
||||||
"/var/lib/gitea" = {
|
"/var/lib/gitea" = {
|
||||||
hostPath = "/var/lib/gitea/";
|
hostPath = "/var/lib/gitea/";
|
||||||
|
|
|
||||||
|
|
@ -47,10 +47,9 @@
|
||||||
interface = "enp5s0";
|
interface = "enp5s0";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
bridges = {
|
macvlans.server = {
|
||||||
server = {
|
interface = "vserver";
|
||||||
interfaces = [ "vserver" ];
|
mode = "bridge";
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
interfaces = {
|
interfaces = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue