From: Peter Palfrader Date: Wed, 29 Jul 2009 13:46:49 +0000 (+0200) Subject: generate.conf is history X-Git-Url: https://wiki.adam-barratt.org.uk/gitweb/?a=commitdiff_plain;h=41ef484c46c46f82596c590b080c6dbb70361429;p=mirror%2Fdsa-wiki.git generate.conf is history --- 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