]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
update liveboot_pserver_reset: ensure /dev/sda1 is mounted
authorMathias Klette <mathias.klette@profitbricks.com>
Tue, 30 Apr 2013 08:58:40 +0000 (10:58 +0200)
committerMathias Klette <mathias.klette@profitbricks.com>
Tue, 30 Apr 2013 08:58:40 +0000 (10:58 +0200)
liveboot_pserver_reset.sh

index 30117700fd5bf8e88bba1c6e1f05fecdd2e0ff33..b941ddf7396ed05bef9546a78c3713a12abf66c3 100755 (executable)
@@ -90,6 +90,11 @@ 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"
+
 #
 # finish
 #