-== 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
+* 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
}}}
* 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.)