# install Squeeze
 # Configure each drive with a 1G partition and a rest-of-the-space partition, as RAID
 # Create a RAID1 for the 1G partitions
 # Create a RAID1 for each pair of rest-of-the-space partitions
 # Create an ext3 /boot on the 1G RAID1
 # Create an LVM volume group named after the machine's short hostname
 # Create an LV called "swap" that is the same size as the machine's physical RAM
 # Create an LV called "root" that is 50G ext4

# download Debathena archive key, verify
  (aptitude install debian-keyring &&
  cd /tmp &&
  wget http://debathena.mit.edu/apt/debathena-archive.asc &&
  kcr_fingerprint=$(gpg --keyring /usr/share/keyrings/debian-keyring.gpg --no-default-keyring --list-keys --with-colons kcr@debian.org | grep ^pub | cut -f 5 -d :) &&
  gpg --primary-keyring /tmp/debathena.gpg --no-default-keyring --import debathena-archive.asc &&
  gpg --primary-keyring /tmp/debathena.gpg --no-default-keyring --refresh-keys &&
  gpg --primary-keyring /tmp/debathena.gpg --no-default-keyring --keyring /usr/share/keyrings/debian-keyring.gpg --check-sigs --with-colons debathena@mit.edu | grep '^sig:!' | cut -d: -f5 | grep -q $kcr_fingerprint &&
  gpg --primary-keyring /tmp/debathena.gpg --no-default-keyring --export debathena@mit.edu | apt-key adv --import)

# add Debathena repos to etc/apt/sources.list.d
  cat <<EOF > /etc/apt/sources.list.d/debathena.list
deb http://debathena.mit.edu/apt squeeze debathena debathena-config debathena-system openafs
deb-src http://debathena.mit.edu/apt squeeze debathena debathena-config debathena-system openafs
EOF

# add scripts repos to /etc/apt/sources.list.d
  cat <<EOF > /etc/apt/sources.list.d/scripts.list 
deb http://web.mit.edu/scripts/apt stable main
deb-src http://web.mit.edu/scripts/apt stable main
EOF

# add scripts apt repo key

# install ~/.k5login
# clone the xen config (/etc/xen)
    git clone -b squeeze ssh://scripts@scripts.mit.edu/mit/scripts/git/xen.git /etc/xen

# Install scripts-vm-host
  aptitude update
  aptitude install scripts-vm-host

# install host keytab
  cp $keytab /etc/krb5.keytab
  k5srvutil change
  k5srvutil delold

# Configure exim4 to use smarthost (outgoing.mit.edu), no local mail
dpkg-reconfigure exim4-config
