Pull in the invirt-system component in install-invirt.sh
[invirt/scripts/install-invirt.git] / install-invirt.sh
index 54f7268..e70a0cb 100755 (executable)
@@ -17,8 +17,8 @@ if [ `id -u` != "0" ]; then
     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)
@@ -31,7 +31,7 @@ esac
 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
@@ -48,8 +48,8 @@ done
 
 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
@@ -60,8 +60,8 @@ done
 
 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 ""