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:
parent
a67217f2c2
commit
494496bc0c
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user