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

This commit is contained in:
Ruben S. Montero committed 2019-02-01 17:50:03 +01:00
1 parent a67217f2c2
commit 494496bc0c
1 file changed
+2 -2
+2 -2
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"