setup
69.8 KB
-
cleanup to dmi fact discovery · 43d96ba3
When invoking dmidecode, first use module.get_bin_path() and secondly use module.run_command. Remove sub function execute() from get_dmi_facts(). Simplify get_dmi_facts() by only using two mechanisms to determine dmi facts: first try /sys/devices/virtual/dmi and if not available, use dmidecode executable.
Stephen Fromm committed