From 2e93649de3a345e13a8d0a96c1216576acfc508c Mon Sep 17 00:00:00 2001 From: sinavir Date: Tue, 12 Mar 2024 12:27:05 +0100 Subject: [PATCH] fix(vault01): Connect to internet and deploy through vpn --- meta/network.nix | 15 ++++++++------- meta/nodes.nix | 2 +- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/meta/network.nix b/meta/network.nix index 0a3e1e7..d69d029 100644 --- a/meta/network.nix +++ b/meta/network.nix @@ -90,14 +90,15 @@ vault01 = { interfaces = { enp130s0f0 = { - ipv4 = [ - { - address = "129.199.210.85"; - prefixLength = 24; - } - ]; + #ipv4 = [ + # { + # address = "129.199.210.85"; + # prefixLength = 24; + # } + #]; - gateways = [ "129.199.210.254" ]; + #gateways = [ "129.199.210.254" ]; + gateways = [ ]; DHCP = "ipv4"; }; diff --git a/meta/nodes.nix b/meta/nodes.nix index 5903e46..ca2515d 100644 --- a/meta/nodes.nix +++ b/meta/nodes.nix @@ -17,7 +17,6 @@ - par02 -> Local DGNum Jourdan - par03 -> VM de Luj */ - { web01 = { site = "dmi01"; @@ -56,6 +55,7 @@ vault01 = { site = "par02"; + deployment.targetHost = "vault01.dgnum"; stateVersion = "23.11"; nixpkgs = "unstable";