error 1 "You must run the Invirt installer as root."
fi
-output "Installing the dependency for the Invirt installer..."
-aptitude install lsb-release
+output "Installing the dependencies for the Invirt installer..."
+aptitude install lsb-release wget
DISTRO=`lsb_release -cs`
case $DISTRO in
hardy)
output "Adding repositories to the apt sources..."
(
echo debathena http://debathena.mit.edu/apt $DISTRO debathena debathena-config openafs
- echo invirt http://xvm.mit.edu/invirt stable main
+ echo invirt http://xvm.mit.edu/invirt stable main invirt-system
) | while read name line; do
sourceslist="/etc/apt/sources.list.d/$name.list"
if [ -e $sourceslist ]; then
output "Downloading archive keys..."
(
- echo http://debathena.mit.edu/apt/debathena-archive.asc a96663dcee0f303afcadca3105eae6bf7c7e698a
- echo http://xvm.mit.edu/invirt/invirt-archive.asc fc5d50e7507a871b45dde55a77448edb0e22c184
+ echo http://debathena.mit.edu/apt/debathena-archive.asc 503f95f71077c03947797932d3a1c424be0eced7
+ echo http://xvm.mit.edu/invirt/invirt-archive.asc a7ca522933fa3e4661b4ee6c18044e9740b1567c
) | while read uri sha1; do
f=$(mktemp archive.asc.XXXX)
wget -O $f $uri
aptitude update
-output "Installing Invirt..."
-DEBIAN_FRONTEND=noninteractive aptitude install invirt-host-master
+#output "Installing Invirt..."
+#DEBIAN_FRONTEND=noninteractive aptitude install invirt-host-master
output "Invirt installation done!"
output ""