From 8662387a8302e596b6b983cddd51eb086b0a6e86 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= <anarcat@debian.org>
Date: Thu, 12 Mar 2020 16:10:07 -0400
Subject: [PATCH] grep for the ip explicitely

---
 tsa/howto/ganeti.mdwn | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/tsa/howto/ganeti.mdwn b/tsa/howto/ganeti.mdwn
index 850e0714..c42734a0 100644
--- a/tsa/howto/ganeti.mdwn
+++ b/tsa/howto/ganeti.mdwn
@@ -285,6 +285,15 @@ Import procedure:
      * DNS (grep in tor-dns source, `puppet agent -t; ud-replicate` on nevii)
      * nagios (don't forget to change the parent)
      * reverse DNS (upstream web UI, e.g. Hetzner Robot)
+     * grep for the host's IP address on itself:
+
+            grep -r -e 78.47.38.227  -e 2a01:4f8:fff0:4f:266:37ff:fe77:1ad8 /etc
+            grep -r -e 78.47.38.227  -e 2a01:4f8:fff0:4f:266:37ff:fe77:1ad8 /srv
+
+     * grep for the host's IP on *all* hosts:
+
+            cumin-all-puppet
+            cumin-all 'grep -r -e 78.47.38.227  -e 2a01:4f8:fff0:4f:266:37ff:fe77:1ad8 /etc'
 
  12. retire old instance (only a tiny part of [[retire-a-host]]):
  
-- 
GitLab