From: Peter Palfrader Date: Sat, 30 Nov 2013 22:50:45 +0000 (+0100) Subject: Merge a few steps X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fdsa-wiki.git;a=commitdiff_plain;h=4560c210de7352f480b37ab77d1467de229b75b3 Merge a few steps --- diff --git a/input/howto/new-machine.creole b/input/howto/new-machine.creole index bb05c5b..cd5bbe8 100644 --- a/input/howto/new-machine.creole +++ b/input/howto/new-machine.creole @@ -3,25 +3,12 @@ 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 +* some initial stuff: {{{ - 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 -{{{ - apt-get install --no-install-recommends dialog && + 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 }}}