From: Mathias Klette Date: Tue, 30 Apr 2013 08:58:40 +0000 (+0200) Subject: update liveboot_pserver_reset: ensure /dev/sda1 is mounted X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=fe830a16d9a90f583aaafff3ba32b70a9d206f2a;p=profitbricks%2Fjenkins-build-scripts.git update liveboot_pserver_reset: ensure /dev/sda1 is mounted --- 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 #