aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Jonglez <git@bitsofnetworks.org>2024-05-30 10:12:48 +0200
committerBaptiste Jonglez <git@bitsofnetworks.org>2024-05-30 10:12:48 +0200
commit02bdc5a0c0d5f890e3b2fad9a352e9658a969380 (patch)
tree7b49eefca5dbbcd97bbc73fda05e6b895fe08374
parent726f4b2f323c090bfe14604dac4349763689eb78 (diff)
downloadnixcfg-02bdc5a0c0d5f890e3b2fad9a352e9658a969380.tar.gz
nixcfg-02bdc5a0c0d5f890e3b2fad9a352e9658a969380.zip
Move piranha to new network
-rw-r--r--cluster/staging/node/piranha.nix4
-rw-r--r--cluster/staging/site/corrin.nix4
-rw-r--r--cluster/staging/ssh_config5
3 files changed, 4 insertions, 9 deletions
diff --git a/cluster/staging/node/piranha.nix b/cluster/staging/node/piranha.nix
index 5783e6a..2dc0677 100644
--- a/cluster/staging/node/piranha.nix
+++ b/cluster/staging/node/piranha.nix
@@ -9,8 +9,8 @@
boot.loader.efi.canTouchEfiVariables = true;
deuxfleurs.hostName = "piranha";
- deuxfleurs.staticIPv4.address = "192.168.1.25";
- deuxfleurs.staticIPv6.address = "2a01:cb05:911e:ec00:223:24ff:feb0:ea82";
+ deuxfleurs.staticIPv4.address = "192.168.5.25";
+ deuxfleurs.staticIPv6.address = "2001:912:1ac0:2200::25";
system.stateVersion = "22.11";
}
diff --git a/cluster/staging/site/corrin.nix b/cluster/staging/site/corrin.nix
index de1a28d..d07de32 100644
--- a/cluster/staging/site/corrin.nix
+++ b/cluster/staging/site/corrin.nix
@@ -2,7 +2,7 @@
{
deuxfleurs.siteName = "corrin";
- deuxfleurs.staticIPv4.defaultGateway = "192.168.1.1";
+ deuxfleurs.staticIPv4.defaultGateway = "192.168.5.1";
deuxfleurs.cnameTarget = "corrin.site.staging.deuxfleurs.org.";
- deuxfleurs.publicIPv4 = "109.222.162.50";
+ deuxfleurs.publicIPv4 = "45.81.62.36";
}
diff --git a/cluster/staging/ssh_config b/cluster/staging/ssh_config
index afcdce5..4f38f47 100644
--- a/cluster/staging/ssh_config
+++ b/cluster/staging/ssh_config
@@ -9,11 +9,6 @@ Host origan
HostName origan.machine.staging.deuxfleurs.org
Host piranha
- HostName %h.machine.staging.deuxfleurs.org
- #HostName piranha.polyno.me
- #OR
- #ProxyJump caribou.machine.deuxfleurs.fr
- #HostName 10.14.3.1
HostName piranha.machine.staging.deuxfleurs.org
Host df-pw5