summaryrefslogtreecommitdiff
path: root/cloudinit/dmi.py
diff options
context:
space:
mode:
authordermotbradley <dermot_bradley@yahoo.com>2021-10-26 19:46:42 +0100
committerGitHub <noreply@github.com>2021-10-26 13:46:42 -0500
commite6f15ae5043ad8cbd5722b95d879ccfc7a352dec (patch)
treed8f8623b38c13725347d130c14d68641d018b0c1 /cloudinit/dmi.py
parenta8380a125d40ff0ae88f2ba25a518346f2063a1a (diff)
downloadvyos-cloud-init-e6f15ae5043ad8cbd5722b95d879ccfc7a352dec.tar.gz
vyos-cloud-init-e6f15ae5043ad8cbd5722b95d879ccfc7a352dec.zip
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.
Diffstat (limited to 'cloudinit/dmi.py')
-rw-r--r--cloudinit/dmi.py4
1 files 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