Fix manual reference for dmidecode (#25444)

dmidecode(1) does not exist, dmidecode(8) does exists.

(rebased from https://github.com/ansible/ansible/pull/24106)
pull/19273/merge
Adrian Likins 7 years ago committed by GitHub
parent 656db3707c
commit 24f2a616dd

@ -138,9 +138,9 @@ class NetBSDHardware(Hardware):
def get_dmi_facts(self):
dmi_facts = {}
# We don't use dmidecode(1) here because:
# We don't use dmidecode(8) here because:
# - it would add dependency on an external package
# - dmidecode(1) can only be ran as root
# - dmidecode(8) can only be ran as root
# So instead we rely on sysctl(8) to provide us the information on a
# best-effort basis. As a bonus we also get facts on non-amd64/i386
# platforms this way.

@ -146,9 +146,9 @@ class OpenBSDHardware(Hardware):
def get_dmi_facts(self):
dmi_facts = {}
# We don't use dmidecode(1) here because:
# We don't use dmidecode(8) here because:
# - it would add dependency on an external package
# - dmidecode(1) can only be ran as root
# - dmidecode(8) can only be ran as root
# So instead we rely on sysctl(8) to provide us the information on a
# best-effort basis. As a bonus we also get facts on non-amd64/i386
# platforms this way.

Loading…
Cancel
Save