From e6f15ae5043ad8cbd5722b95d879ccfc7a352dec Mon Sep 17 00:00:00 2001 From: dermotbradley Date: Tue, 26 Oct 2021 19:46:42 +0100 Subject: cloudinit/dmi.py: Change warning to debug to prevent console display (#1082) Change DMI warning to a debug message to prevent it appearing on console during boot of machines, such as Raspberry Pi, that do not support DMI. --- cloudinit/dmi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cloudinit/dmi.py b/cloudinit/dmi.py index f0e69a5a..bba3daf2 100644 --- a/cloudinit/dmi.py +++ b/cloudinit/dmi.py @@ -156,8 +156,8 @@ def read_dmi_data(key): if dmidecode_path: return _call_dmidecode(key, dmidecode_path) - LOG.warning("did not find either path %s or dmidecode command", - DMI_SYS_PATH) + LOG.debug("did not find either path %s or dmidecode command", + DMI_SYS_PATH) return None # vi: ts=4 expandtab -- cgit v1.2.3