try again with bridge
This commit is contained in:
parent
75daf49c98
commit
d8a94d3e5c
2 changed files with 12 additions and 5 deletions
|
|
@ -100,7 +100,9 @@ in
|
|||
containers.gitea = {
|
||||
autoStart = true;
|
||||
ephemeral = true;
|
||||
macvlans = [ "vserver" ];
|
||||
# macvlans = [ "vserver" ];
|
||||
hostBridge = "server";
|
||||
localAddress = "10.42.97.1/24";
|
||||
bindMounts = {
|
||||
"/var/lib/gitea" = {
|
||||
hostPath = "/var/lib/gitea/";
|
||||
|
|
@ -116,7 +118,7 @@ in
|
|||
config = { lib, config, pkgs, ... }: {
|
||||
networking = {
|
||||
hostName = "fw";
|
||||
interfaces.mv-vserver = {
|
||||
interfaces.eth0 = {
|
||||
useDHCP = true;
|
||||
ipv4.addresses = [ { address = "10.42.97.2"; prefixLength = 24; } ];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue