mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-23 05:04:56 +09:00
F #1684: Change format of probe to conform CPU_MODEL/MACHINE_TYPE metrics
This commit is contained in:
1 parent
a67217f2c2
commit
494496bc0c
1 file changed
+2
-2
@@ -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"
|
||||
Reference in new issue
Block a user