From: Peter Palfrader Date: Sat, 27 Jun 2009 13:46:07 +0000 (+0200) Subject: Fix debconf-set-selections inputs X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fdsa-wiki.git;a=commitdiff_plain;h=8cd4e7288dfb7b33fd59c23918f861bcaaba3f27 Fix debconf-set-selections inputs --- diff --git a/input/howto/new-machine.creole b/input/howto/new-machine.creole index 8095243..c781988 100644 --- a/input/howto/new-machine.creole +++ b/input/howto/new-machine.creole @@ -24,8 +24,9 @@ Note: this is partially obsolete now that we have [[puppet|howto/puppet-setup]]. * make debconf the same on every host: - dialog, - high {{{ - echo "debconf debconf/priority select high" | debconf-set-selections - echo "debconf debconf/frontend select Dialog" | debconf-set-selections + apt-get install dialog && + 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: @@ -136,7 +137,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 + 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 }}}