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:
parent
81dc0e72da
commit
aae7c98aaa
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user