]> git.proxmox.com Git - mirror_corosync.git/commitdiff
autobuild: ssh into node as root
authorAngus Salkeld <asalkeld@redhat.com>
Wed, 18 Jan 2012 12:17:01 +0000 (23:17 +1100)
committerAngus Salkeld <asalkeld@redhat.com>
Thu, 19 Jan 2012 11:06:09 +0000 (22:06 +1100)
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com
autobuild.sh

index 01ecf9c19392611e593dd6e27bd1a24d51bba219..79fef54c2816afc7e1f4d3cc11995055ebf3ee30 100755 (executable)
@@ -84,10 +84,10 @@ $LOG onto the test nodes $TEST_NODES
 for n in $TEST_NODES
 do
        $LOG "Installing onto $n"
-       ssh $n "rm -rf /tmp/corosync*.rpm"
-       ssh $n "rm -f /etc/corosync/corosync.conf.*"
-       scp $RPM_LIST $n:/tmp/
-        ssh $n "rpm --nodeps --force -Uvf /tmp/corosync*.rpm"
+       sudo ssh $n "rm -rf /tmp/corosync*.rpm"
+       sudo ssh $n "rm -f /etc/corosync/corosync.conf.*"
+       sudo scp $RPM_LIST $n:/tmp/
+        sudo ssh $n "rpm --nodeps --force -Uvf /tmp/corosync*.rpm"
 done
 
 $LOG 'running CTS ...'