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

F #1684: Change format of probe to conform CPU_MODEL/MACHINE_TYPE metrics

This commit is contained in:
Ruben S. Montero 2019-02-01 17:50:03 +01:00
parent a67217f2c2
commit 494496bc0c

View File

@ -11,9 +11,9 @@ fi
tmpfile=$(mktemp /tmp/lxd_probe.XXXXXX)
echo "$profiles" > "$tmpfile"
out=$(tr '\n' ',' < "$tmpfile")
out=$(tr '\n' ' ' < "$tmpfile")
out=${out::-1}
echo -e LXD_PROFILES=\""$out"\"
rm "$tmpfile"
rm "$tmpfile"