From 41ef484c46c46f82596c590b080c6dbb70361429 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 29 Jul 2009 15:46:49 +0200 Subject: [PATCH 1/1] generate.conf is history --- input/howto/new-machine.creole | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/input/howto/new-machine.creole b/input/howto/new-machine.creole index 087eff0..b710da4 100644 --- a/input/howto/new-machine.creole +++ b/input/howto/new-machine.creole @@ -28,12 +28,12 @@ Note: this has recently been changed to rely more on [[puppet|howto/puppet-setup * setup [[puppet|howto/puppet-setup]] (run the puppet client two or three times until things converge.) -* on draghi, add the host to /home/sshdist/.ssh/authorized_keys and generate.conf +* on draghi, add the host to /home/sshdist/.ssh/authorized_keys (you want the host's rsa host key there: {{{cat /etc/ssh/ssh_host_rsa_key.pub}}}) {{{ : :: draghi :: && sudo vi /home/sshdist/.ssh/authorized_keys - : :: draghi :: && sudo vi /etc/userdir-ldap/generate.conf }}} +* use ud-host to add the new host to LDAP * run generate, or wait until cron runs it for you {{{ : :: draghi :: && sudo -u sshdist ud-generate @@ -136,6 +136,4 @@ Note: this has recently been changed to rely more on [[puppet|howto/puppet-setup * add to nagios -* add host to ldap: ud-host -a $USER -h .... - -- weasel, Wed, 04 Jun 2008 20:52:56 +0200 -- 2.20.1