From 8d5357107bda2b34b1ef55725bc0666d56ce6231 Mon Sep 17 00:00:00 2001
From: Nico Schottelius <nico@bento.schottelius.org>
Date: Mon, 20 Jan 2014 14:07:31 +0100
Subject: [PATCH] use uname -n in hostname explorer

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
---
 cdist/conf/explorer/hostname | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cdist/conf/explorer/hostname b/cdist/conf/explorer/hostname
index e1017227..7715c6b0 100755
--- a/cdist/conf/explorer/hostname
+++ b/cdist/conf/explorer/hostname
@@ -20,6 +20,6 @@
 #
 #
 
-if command -v hostname >/dev/null; then
-   hostname -f 2>/dev/null || true
+if command -v uname >/dev/null; then
+   uname -n
 fi