[PATCH 3/4] autobuild: ssh into node as root

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Angus Salkeld <asalkeld@xxxxxxxxxx>
---
 autobuild.sh |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/autobuild.sh b/autobuild.sh
index 01ecf9c..79fef54 100755
--- a/autobuild.sh
+++ b/autobuild.sh
@@ -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 ...'
-- 
1.7.7.5

_______________________________________________
discuss mailing list
discuss@xxxxxxxxxxxx
http://lists.corosync.org/mailman/listinfo/discuss


[Index of Archives]     [Linux Clusters]     [Corosync Project]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Linux Kernel]     [Linux SCSI]     [X.Org]

  Powered by Linux