From fe830a16d9a90f583aaafff3ba32b70a9d206f2a Mon Sep 17 00:00:00 2001 From: Mathias Klette Date: Tue, 30 Apr 2013 10:58:40 +0200 Subject: [PATCH] update liveboot_pserver_reset: ensure /dev/sda1 is mounted --- liveboot_pserver_reset.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/liveboot_pserver_reset.sh b/liveboot_pserver_reset.sh index 3011770..b941ddf 100755 --- a/liveboot_pserver_reset.sh +++ b/liveboot_pserver_reset.sh @@ -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 # -- 2.39.5