#!/bin/sh
#
#  Configure the new image to be a minimal image, by removing
# a packages I don't care about - and installing some alternatives.
#
# Steve
# --
# http://www.steve.org.uk/
#

prefix=$1

#
#  Source our common functions - this will let us install a Debian package.
#
if [ -e /usr/lib/xen-tools/common.sh ]; then
    . /usr/lib/xen-tools/common.sh
else
    echo "Installation problem"
fi

#
#  Install some new packages - do this first to avoid dependency errors.
#

installCentOS4Package ${prefix} syslog-ng 
installCentOS4Package ${prefix} deborphan
installCentOS4Package ${prefix} less
installCentOS4Package ${prefix} screen
installCentOS4Package ${prefix} sudo
installCentOS4Package ${prefix} vim
installCentOS4Package ${prefix} emacs
installCentOS4Package ${prefix} openssh-server
installCentOS4Package ${prefix} ssh
installCentOS4Package ${prefix} cvs
installCentOS4Package ${prefix} subversion
