+# install sipb-xen-base:/etc/apt/sources.list.d/*
+apt-get update
+aptitude install sipb-xen-host-master
+
+# install keytab
+
+## clustering should be handled by sipb-xen-clvm-config,
+## but if not then see below
+
+## to take up the new Xen-hypervisor kernel
+# shutdown -r now
+
+
+
+########### old, more complicated version
+
### for kerberos access; need keytab ###
aptitude install krb5-user ntpdate
cat >>/etc/ssh/sshd_config <<EOF
GSSAPICleanupCredentials yes
GSSAPIKeyExchange yes
EOF
+/etc/init.d/ssh reload
+# Set default realm to ATHENA.MIT.EDU
+printf "krb5-config\tkrb5-config/default_realm\tstring\tATHENA.MIT.EDU" | debconf-set-selections
+dpkg-reconfigure -fnoninteractive krb5-config
+# in an ideal world, all of the above is just
+# aptitude install debathena-{ssh-server,kerberos}-config
+
# install keytab
# install /root/.k5login
ntpdate
aptitude install screen
### the main event ###
-scp black-mesa:/etc/apt/sources.list.d/* /etc/apt/sources.list
+scp black-mesa:/etc/apt/sources.list.d/* /etc/apt/sources.list.d
apt-get update
aptitude install sipb-xen-host-master
-# or scp sx-blade-1:*.deb . && dpkg -i *.deb
+# or scp sx-blade-1:*.deb . && dpkg -i *.deb && apt-get -f install
### clustering... ###
## should become own package once we figure it out.
-#/etc/cluster/cluster.conf
scp OLD-HOST:/etc/cluster/cluster.conf /etc/cluster/cluster.conf
aptitude install clvm cman redhat-cluster-modules-2.6-xen-amd64
cman
dlm
EOF
+
+
+# to take up the new Xen-hypervisor kernel
+# shutdown -r now
+