mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
Merge pull request #127 from YunoHost/several-ip
Retrieve only one IP address
This commit is contained in:
commit
68e88a81ae
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ _LXC_START_AND_WAIT() {
|
|||
fi
|
||||
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() {
|
||||
|
|
Loading…
Add table
Reference in a new issue