source: trunk/scripts/invirt-test-build/invirt-test-install @ 2200

Last change on this file since 2200 was 2196, checked in by iannucci, 16 years ago

useful invirt-test-build and invirt-test-install scripts.

  • Property svn:executable set to *
File size: 293 bytes
Line 
1#!/bin/bash
2set -e
3name=`ssh root@xvm-dev "ls $1*.deb"`
4shift;
5scp root@xvm-dev:~/$name .
6ssh root@xvm-dev mv "$name" "$name_backup"
7for i in "$@"; do
8    scp "$name" root@$i:
9    ssh root@$i -t dpkg -i "$name"
10    ssh root@$i rm $name
11done
12rm $name
13ssh root@xvm-dev mv "$name_backup" "$name"
Note: See TracBrowser for help on using the repository browser.