fix spacing
[mirror/dsa-wiki.git] / input / howto / new-machine.creole
index 41e99bd..81ec799 100644 (file)
@@ -2,6 +2,8 @@
 
 Note: this is partially obsolete now that we have [[puppet-setup|puppet]].  We should probably update/rework some parts.
 
+** Warning: This procedure has not been tested since being moved to the wiki.  Beware. **
+
 * install ssh if it isn't there already
 {{{
     apt-get install ssh
@@ -82,19 +84,19 @@ EOF
 * on samosa, add the host to /home/sshdist/.ssh/authorized_keys and generate.conf
 (you want the host's rsa host key there: {{{cat /etc/ssh/ssh_host_rsa_key.pub}}})
 {{{
-    :: samosa :: && sudo vi /home/sshdist/.ssh/authorized_keys
-    :: samosa :: && sudo vi /etc/userdir-ldap/generate.conf
+    : :: samosa :: && sudo vi /home/sshdist/.ssh/authorized_keys
+    : :: samosa :: && sudo vi /etc/userdir-ldap/generate.conf
 }}}
 * run generate, or wait until cron runs it for you
 {{{
-    :: samosa :: && sudo -u sshdist ud-generate
+    : :: samosa :: && sudo -u sshdist ud-generate
 }}}
 
 * fix nsswitch for ud fu.
 {{{
-    sed -i -e 's/^passwd:[[:space:]]\+compat$/passwd:         compat db/;
-              s/^group:[[:space:]]\+compat$/group:           db compat/;
-              s/^shadow:[[:space:]]\+compat$/shadow:         compat db/' \
+    sed -i -e 's/^passwd:\[[:space:]]\+compat$/passwd:         compat db/;
+              s/^group:\[[:space:]]\+compat$/group:          db compat/;
+              s/^shadow:\[[:space:]]\+compat$/shadow:         compat db/' \
         /etc/nsswitch.conf
 }}}
 
@@ -137,7 +139,7 @@ EOF
 
 * exim setup:
 {{{
-    :: now obsolete :: &&
+    : :: now obsolete :: &&
     apt-get install git-core curl &&
     ! [ -d /etc/exim4.bak ] &&
     /etc/init.d/exim4 stop &&
@@ -198,7 +200,7 @@ EOF
 }}}
 * add to munin on spohr
 {{{
-    :: spohr :: && sudo vi /etc/munin/munin.conf
+    : :: spohr :: && sudo vi /etc/munin/munin.conf
 }}}