From 10bae4ecd32dfc7b3a368d04118b2f3118d3c618 Mon Sep 17 00:00:00 2001 From: Jonathan Clarke Date: Mon, 8 Feb 2016 15:08:43 +0100 Subject: [PATCH] Fixes #7890: Add dmidecode call for FreeBSD systems (system techniques) --- techniques/system/inventory/1.0/fusionAgent.st | 3 +++ 1 file changed, 3 insertions(+) diff --git a/techniques/system/inventory/1.0/fusionAgent.st b/techniques/system/inventory/1.0/fusionAgent.st index 5efd94e75..70ab93450 100644 --- a/techniques/system/inventory/1.0/fusionAgent.st +++ b/techniques/system/inventory/1.0/fusionAgent.st @@ -486,6 +486,9 @@ bundle agent addInformationsToInventory solaris:: "RUDDERUUID" string => execresult("smbios | grep UUID | sed 's/ UUID: //'", "useshell"); + freebsd:: + "RUDDERUUID_cmd" string => "/usr/local/sbin/dmidecode -s system-uuid"; + !windows.!android:: "CFKEY_cmd" string => "/bin/cat ${sys.workdir}/ppkeys/localhost.pub"; "usersnumber" int => readstringarray("userslist","/etc/passwd","#[^\n]*",":",50,16000);