remove waring, i used that several times since we have it in the wiki
[mirror/dsa-wiki.git] / input / howto / new-machine.creole
index f4486c6..8686652 100644 (file)
@@ -2,8 +2,6 @@
 
 Note: this is partially obsolete now that we have [[puppet|howto/puppet-setup]].  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
@@ -19,9 +17,15 @@ Note: this is partially obsolete now that we have [[puppet|howto/puppet-setup]].
 
  make sure there is _no_ locale defined in /etc/environment and /etc/default/locale
 
+{{{
+   echo "" > /etc/environment
+   echo "" > /etc/default/locale
+}}}
+
 * make debconf the same on every host: - dialog, - high
 {{{
-    dpkg-reconfigure debconf
+    echo "debconf debconf/priority        select  high" | debconf-set-selections
+    echo "debconf debconf/frontend        select  Dialog" | debconf-set-selections
 }}}
 
 * add db.d.o to sources.list:
@@ -132,6 +136,7 @@ EOF
 
 * make ca-certificates sane:  (choose to *not* trust new certs, and we only want the spi cert activated)
 {{{
+    echo "ca-certificates ca-certificates/trust_new_crts  select  no" | debconf-set-selections
     sed -i -e 's/^[^#!].*/!&/; s#^!spi-inc.org/spi-cacert-2008.crt#spi-inc.org/spi-cacert-2008.crt#' /etc/ca-certificates.conf
     dpkg-reconfigure ca-certificates
 }}}