Arts-of-coding
commited on
Commit
•
e80f714
1
Parent(s):
05136b2
Update mount-blobfuse.sh
Browse files- mount-blobfuse.sh +4 -0
mount-blobfuse.sh
CHANGED
@@ -1,2 +1,6 @@
|
|
|
|
|
|
|
|
|
|
1 |
# mount our blobstore
|
2 |
AZURE_STORAGE_ACCOUNT=$AZURE_STORAGE_ACCOUNT AZURE_STORAGE_ACCESS_KEY=$AZURE_STORAGE_ACCESS_KEY blobfuse $AZURE_MOUNT_POINT --use-https=true --tmp-path=/tmp/blobfuse/$AZURE_STORAGE_ACCOUNT --container-name=$AZURE_STORAGE_ACCOUNT_CONTAINER -o allow_other --use-attr-cache=true --basic-remount-check=true
|
|
|
1 |
+
test ${AZURE_MOUNT_POINT}
|
2 |
+
rm -rf ${AZURE_MOUNT_POINT}
|
3 |
+
mkdir ${AZURE_MOUNT_POINT}
|
4 |
+
|
5 |
# mount our blobstore
|
6 |
AZURE_STORAGE_ACCOUNT=$AZURE_STORAGE_ACCOUNT AZURE_STORAGE_ACCESS_KEY=$AZURE_STORAGE_ACCESS_KEY blobfuse $AZURE_MOUNT_POINT --use-https=true --tmp-path=/tmp/blobfuse/$AZURE_STORAGE_ACCOUNT --container-name=$AZURE_STORAGE_ACCOUNT_CONTAINER -o allow_other --use-attr-cache=true --basic-remount-check=true
|