From 67ac493dca3957da72c05d2025a1d889bd5eef59 Mon Sep 17 00:00:00 2001 From: Dermot Bradley Date: Mon, 25 Oct 2021 18:21:57 +0100 Subject: [PATCH] cloudinit/dmi.py: Change warning to debug to prevent console display 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 f0e69a5a60d..bba3daf2fb1 100644 --- a/cloudinit/dmi.py +++ b/cloudinit/dmi.py @@ -156,8 +156,8 @@ def is_x86(arch): 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