Skip to content

Commit 2bb9f33

Browse files
committed
make sure path is set
1 parent 6799687 commit 2bb9f33

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

_setup_utils/mount.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
# script to format mount and copy data.
22

33
# remove a leftover instance mount
4-
rm -rf ~/db-benchmark-metal
4+
rm -rf /var/lib/mount/db-benchmark-metal
55

66
# format the mount
77

8+
source path.env
9+
810
mount_name=$(sudo lsblk | awk '
911
NR > 1 && $1 ~ /^nvme/ && $7 == "" {
1012
# Convert SIZE column to bytes for comparison

0 commit comments

Comments
 (0)