# 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

# ??? F11 will suggest ext4, DON'T USE IT.
#   - New filesystem, so it's scary
#   - The hosts can't mount it
#   - Grub can't cope with it

# 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

# install host keytab
  cp $keytab /etc/krb5.keytab
  k5srvutil change
  k5srvutil delold
# 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 install scripts-vm-host
