From a237d673976d654ebb92fddd9584f7270126367f Mon Sep 17 00:00:00 2001 From: Astro Date: Wed, 14 Sep 2022 00:19:19 +0200 Subject: [PATCH] host-registry: add dacbert, pulsebert ip4 addresses --- host-registry.nix | 9 +++++---- hosts/nfsroot/nfs.nix | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/host-registry.nix b/host-registry.nix index 10308d85..df9c42f9 100644 --- a/host-registry.nix +++ b/host-registry.nix @@ -1,8 +1,10 @@ # Registry of C3D2 machines. { - dacbert.ip4 = "dacbert.hq.c3d2.de"; - dacbert.serial = "3c271952"; + dacbert = { + serial = "3c271952"; + ip4 = "172.22.99.203"; + }; riscbert.ip4 = "riscbert.c3d2.zentralwerk.org"; @@ -57,8 +59,7 @@ pulsebert = { ether = "dc:a6:32:31:b6:32"; publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFQCsDss9Gq3/eTKqpgEwXK+nhnuARS4/kHqF2+laGnp"; - wol = true; - ip4 = "pulsebert.hq.c3d2.de"; + ip4 = "172.22.99.208"; }; samba = { }; diff --git a/hosts/nfsroot/nfs.nix b/hosts/nfsroot/nfs.nix index d24cf9b0..e7ee1586 100644 --- a/hosts/nfsroot/nfs.nix +++ b/hosts/nfsroot/nfs.nix @@ -29,7 +29,7 @@ /var/lib/nfsroot/dacbert ${ lib.concatMapStringsSep " " (subnet: "${subnet}(${opts "rw" 1})" - ) allowed + ) [ "${hostRegistry.dacbert.ip4}/32" "${hostRegistry.dacbert.ip6}/128" ] } /var/lib/nfsroot/riscbert ${ lib.concatMapStringsSep " " (subnet: