From 494496bc0c1c1da33643077a970ddf8d70f3ec85 Mon Sep 17 00:00:00 2001 From: "Ruben S. Montero" Date: Fri, 1 Feb 2019 17:50:03 +0100 Subject: [PATCH] F #1684: Change format of probe to conform CPU_MODEL/MACHINE_TYPE metrics --- src/im_mad/remotes/lxd-probes.d/profiles.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/im_mad/remotes/lxd-probes.d/profiles.sh b/src/im_mad/remotes/lxd-probes.d/profiles.sh index 2c27b6d1ed..860b0b8819 100755 --- a/src/im_mad/remotes/lxd-probes.d/profiles.sh +++ b/src/im_mad/remotes/lxd-probes.d/profiles.sh @@ -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" \ No newline at end of file +rm "$tmpfile"