1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

Bug #2271: rados command doesn't need sudo

This commit is contained in:
Jaime Melis 2013-08-16 12:00:50 -04:00
parent 3c8dbd669a
commit 72dc5e70a4

View File

@ -54,7 +54,7 @@ POOL_NAME="${XPATH_ELEMENTS[1]:-$POOL_NAME}"
# ------------ Compute datastore usage -------------
MONITOR_SCRIPT=$(cat <<EOF
$SUDO $RADOS df | $AWK '{
$RADOS df | $AWK '{
if (\$1 == "total") {
space = int(\$3/1024)