forked from ungleich-public/cdist
use uname -n in hostname explorer
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
parent
cd6abf379a
commit
8d5357107b
1 changed files with 2 additions and 2 deletions
|
@ -20,6 +20,6 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
||||||
if command -v hostname >/dev/null; then
|
if command -v uname >/dev/null; then
|
||||||
hostname -f 2>/dev/null || true
|
uname -n
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue