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" ];
|
||||
autoStart = true;
|
||||
ephemeral = true;
|
||||
privateNetwork = true;
|
||||
hostBridge = "server";
|
||||
localAddress = "10.42.97.2/24";
|
||||
macvlans = [ "vserver" ];
|
||||
bindMounts = {
|
||||
"/var/lib/gitea" = {
|
||||
hostPath = "/var/lib/gitea/";
|
||||
|
|
|
|||
|
|
@ -47,10 +47,9 @@
|
|||
interface = "enp5s0";
|
||||
};
|
||||
};
|
||||
bridges = {
|
||||
server = {
|
||||
interfaces = [ "vserver" ];
|
||||
};
|
||||
macvlans.server = {
|
||||
interface = "vserver";
|
||||
mode = "bridge";
|
||||
};
|
||||
|
||||
interfaces = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue