bagel factory: init #2

Merged
raito merged 5 commits from delroth/raito-shared-public-infra:container-prep into main 2024-06-23 18:27:00 +00:00
2 changed files with 9 additions and 2 deletions
Showing only changes of commit a1c645a1e6 - Show all commits

View file

@ -14,6 +14,7 @@
networkConfig = {
Bridge = "wan-br";
VirtualEthernetExtra = "vb-bagel-v4:host1";
};
};
@ -23,4 +24,10 @@
after = [ "network.target" ];
overrideStrategy = "asDropin";
};
systemd.network.networks."20-vb-bagel-v4" = {
matchConfig.Name = "vb-bagel-v4";
networkConfig.Address = [ "172.16.100.1/24" ];
networkConfig.IPMasquerade = true;
};
}

View file

@ -14,8 +14,8 @@
'')
config.networking.newtype.hosts);
# leave container interfaces alone
systemd.network.networks."05-veth".extraConfig = ''
# leave container interfaces alone unless otherwise specified
systemd.network.networks."95-veth".extraConfig = ''
[Match]
Driver = veth