mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
Retrieve only one IP address
This commit is contained in:
parent
f9dafe3a41
commit
343c424db1
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ _LXC_START_AND_WAIT() {
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
LXC_IP=$(lxc exec $1 -- hostname -I | grep -E -o "\<[0-9.]{8,}\>")
|
LXC_IP=$(lxc exec $1 -- hostname -I | cut -d' ' -f1 | grep -E -o "\<[0-9.]{8,}\>")
|
||||||
}
|
}
|
||||||
|
|
||||||
CLEAN_SWAPFILES() {
|
CLEAN_SWAPFILES() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue