X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=input%2Fhowto%2Fnew-machine.creole;h=86866527b228ffa17e4fae6f8bc2c1297aff84e5;hb=7ddb2ea65c107e17008bfb5529f167fe977bf6c1;hp=f4486c62e9b125962352fb91082bdd77e843d37f;hpb=f1ee07afa8fb593c4c10f570356e66817e8cbae6;p=mirror%2Fdsa-wiki.git diff --git a/input/howto/new-machine.creole b/input/howto/new-machine.creole index f4486c6..8686652 100644 --- a/input/howto/new-machine.creole +++ b/input/howto/new-machine.creole @@ -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 }}}