new-machine: drop duplicated &&
[mirror/dsa-wiki.git] / input / howto / new-machine.creole
index bb05c5b..88a9805 100644 (file)
@@ -1,26 +1,13 @@
-== setup/integrate a new machine ==
+= how to add a new machine =
 
 Note: this has recently been changed to rely more on [[puppet|howto/puppet-setup]].  If stuff breaks fix it.
 
 
-* install ssh if it isn't there already
-{{{
-    apt-get install --no-install-recommends ssh
-}}}
-
-* sane editor
-{{{
-    apt-get install --no-install-recommends vim
-}}}
-
-* sane locales: (make sure there is _no_ locale defined in /etc/environment and /etc/default/locale)
-{{{
-   echo -n > /etc/environment
-   echo -n > /etc/default/locale
-}}}
-
-* make debconf the same on every host: - dialog, - high
+* some initial stuff:
 {{{
+    apt-get install --no-install-recommends ssh vim &&
+    echo -n > /etc/environment &&
+    echo -n > /etc/default/locale &&
     apt-get install --no-install-recommends dialog &&
     echo "debconf debconf/priority        select high" | debconf-set-selections &&
     echo "debconf debconf/frontend        select Dialog" | debconf-set-selections
@@ -36,7 +23,7 @@ Note: this has recently been changed to rely more on [[puppet|howto/puppet-setup
 * run generate, or wait until cron runs it for you.  Update DNS.
 {{{
     : :: draghi :: && sudo -u sshdist ud-generate && sudo -H ud-replicate && sudo -H puppetd -t
-    : :: orff :: && sudo -H ud-replicate
+    : :: denis :: && sudo -H ud-replicate
 }}}
 
 * setup [[puppet|howto/puppet-setup]]  (run the puppet client two or three times until things converge.)