try again with bridge
This commit is contained in:
@@ -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; } ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user