]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
Changed SSH login to the test server.
authorMarjan Schiller <marjan.schiller@profitbricks.com>
Tue, 30 Apr 2013 13:23:12 +0000 (15:23 +0200)
committerMarjan Schiller <marjan.schiller@profitbricks.com>
Tue, 30 Apr 2013 13:23:12 +0000 (15:23 +0200)
liveboot_pserver_reset.sh

index b941ddf7396ed05bef9546a78c3713a12abf66c3..3789b0db169399b03ee0bf6e1ff943895f82d4d0 100755 (executable)
@@ -90,10 +90,10 @@ ssh -o StrictHostKeychecking=no -i ~/.ssh/id_ritest -t root@$TESTSERVER bash $TM
 rm $TMPFILE
 ssh -o StrictHostKeychecking=no -i ~/.ssh/id_ritest -t jenkins@$TESTSERVER sudo id
 
-ssh -o StrictHostKeychecking=no -t $TESTSERVER "sudo dmsetup remove_all"
-ssh -o StrictHostKeychecking=no -t $TESTSERVER "sudo mkdir -p /mnt/local_hdd"
-ssh -o StrictHostKeychecking=no -t $TESTSERVER "sudo umount /mnt/local_hdd || true"
-ssh -o StrictHostKeychecking=no -t $TESTSERVER "sudo mount /dev/sda1 /mnt/local_hdd"
+ssh -o StrictHostKeychecking=no -i ~/.ssh/id_ritest -t root@$TESTSERVER "dmsetup remove_all"
+ssh -o StrictHostKeychecking=no -i ~/.ssh/id_ritest -t root@$TESTSERVER "mkdir -p /mnt/local_hdd"
+ssh -o StrictHostKeychecking=no -i ~/.ssh/id_ritest -t root@$TESTSERVER "umount /mnt/local_hdd || true"
+ssh -o StrictHostKeychecking=no -i ~/.ssh/id_ritest -t root@$TESTSERVER "mount /dev/sda1 /mnt/local_hdd"
 
 #
 # finish