From d55f797d8565420498bb31b9571cba53ae632908 Mon Sep 17 00:00:00 2001 From: =?utf8?q?H=C3=A9ctor=20Or=C3=B3n=20Mart=C3=ADnez?= Date: Tue, 3 Dec 2019 11:09:59 +0100 Subject: [PATCH] decomission.mdwn: more formatting fixes MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Héctor Orón Martínez --- input/howto/decomission.mdwn | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/input/howto/decomission.mdwn b/input/howto/decomission.mdwn index 58a6f7a..ab672af 100644 --- a/input/howto/decomission.mdwn +++ b/input/howto/decomission.mdwn @@ -3,15 +3,13 @@ * Get rid of any services running on the host. * Optional, shut down the machine, then wait a month * Zero disks - +``` badblocks -v -s -p 5 -w -f DEVICE_GOES_HERE - +``` * Revoke puppet certificate - - * on handel: puppet node clean $HOST.debian.org - * on handel: puppet node deactivate $HOST.debian.org + * on handel: `puppet node clean $HOST.debian.org` + * on handel: `puppet node deactivate $HOST.debian.org` * reinit samhain on handel - * Remove from LDAP * including references such as subgroup: foo@hostname or supplementarygid: foo@hostname * rerun puppet on backuphost / the backup host -- 2.20.1