1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-02 01:18:26 +03:00

tests: fallback to normal hostname on older machines

hostname -I  is newer option, add some fallback
This commit is contained in:
Zdenek Kabelac 2024-04-11 16:28:52 +02:00
parent 81dc0e72da
commit aae7c98aaa

View File

@ -176,7 +176,7 @@ echo "@PREFIX=$PREFIX"
echo "## DATE: $(date || true)"
# Hostname IP address
echo "## HOST: $(hostname -I || true)"
echo "## HOST: $(hostname -I 2>/dev/null || hostname 2>/dev/null || true)"
if test -z "$SKIP_ROOT_DM_CHECK" ; then
aux lvmconf