mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-23 22:50:09 +03:00
Feature #3574: Bug in the remote directory creation
This commit is contained in:
parent
fa1eeeadcd
commit
41f5099814
@ -55,8 +55,8 @@ BRIDGE_LIST="${XPATH_ELEMENTS[i++]}"
|
||||
# ------------ Compute datastore usage -------------
|
||||
|
||||
MONITOR_SCRIPT=$(cat <<EOF
|
||||
if [ ! -d \$BASE_PATH ]; then
|
||||
mkdir -p \$BASE_PATH
|
||||
if [ ! -d $BASE_PATH ]; then
|
||||
mkdir -p $BASE_PATH
|
||||
fi
|
||||
|
||||
USED_MB=\$(df -B1M -P $BASE_PATH 2>/dev/null | tail -n 1 | awk '{print \$3}')
|
||||
|
Loading…
x
Reference in New Issue
Block a user