From 6990ef4a4abd9a5fe57e91fbc963308260b164af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Peccatte?= Date: Mon, 12 Oct 2015 16:38:09 +0200 Subject: [PATCH] Fixes #7269: rudder agent info --- share/commands/agent-info | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/commands/agent-info b/share/commands/agent-info index ee6beb1..f8b506c 100755 --- a/share/commands/agent-info +++ b/share/commands/agent-info @@ -4,7 +4,7 @@ # @man what defines the node (hostname, uuid and key hash) and its # @man policy server. -HOSTNAME=$(hostname) +HOSTNAME=$(hostname -f) [ $? -ne 0 ] && HOSTNAME="not found" UUID=$(cat /opt/rudder/etc/uuid.hive 2>/dev/null)