mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-23 02:59:07 +01:00
tests/infrastructure: Use same ip addresses as in production
This commit is contained in:
parent
6f78be2e0f
commit
5478fafd6f
7 changed files with 22 additions and 25 deletions
|
|
@ -21,13 +21,10 @@
|
|||
};
|
||||
};
|
||||
|
||||
custom = {
|
||||
networking.overlay.networkCidr = lib.mkForce "10.10.10.0/24";
|
||||
services.nebula = {
|
||||
caCertificatePath = ./keys/ca.crt;
|
||||
certificatePath = ./keys/${config.networking.hostName}.crt;
|
||||
privateKeyPath = ./keys/${config.networking.hostName}.key;
|
||||
};
|
||||
custom.services.nebula = {
|
||||
caCertificatePath = ./keys/ca.crt;
|
||||
certificatePath = ./keys/${config.networking.hostName}.crt;
|
||||
privateKeyPath = ./keys/${config.networking.hostName}.key;
|
||||
};
|
||||
|
||||
services.resolved.dnssec = lib.mkForce "false";
|
||||
|
|
@ -40,7 +37,7 @@
|
|||
custom = {
|
||||
networking = {
|
||||
overlay = {
|
||||
address = "10.10.10.1";
|
||||
address = "10.254.250.1";
|
||||
isLighthouse = true;
|
||||
role = "server";
|
||||
};
|
||||
|
|
@ -59,7 +56,7 @@
|
|||
custom = {
|
||||
networking = {
|
||||
overlay = {
|
||||
address = "10.10.10.2";
|
||||
address = "10.254.250.2";
|
||||
role = "server";
|
||||
};
|
||||
underlay = {
|
||||
|
|
@ -82,7 +79,7 @@
|
|||
client = {
|
||||
custom.networking = {
|
||||
overlay = {
|
||||
address = "10.10.10.3";
|
||||
address = "10.254.250.3";
|
||||
role = "client";
|
||||
};
|
||||
underlay = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue