mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-21 13:54:26 -07:00
Merge 14d07694e1
into 873693b2ed
This commit is contained in:
commit
0f53c8f5b9
1 changed files with 1 additions and 0 deletions
|
@ -216,6 +216,7 @@ get_user_ip() {
|
||||||
if [ ! -z "$nat" ]; then
|
if [ ! -z "$nat" ]; then
|
||||||
ip=$nat
|
ip=$nat
|
||||||
fi
|
fi
|
||||||
|
grep -q "^vagrant" /etc/passwd && [ `hostname -I | wc -w` -gt 1 ] && ip=`hostname -I | cut -f 2 -d " "`
|
||||||
}
|
}
|
||||||
|
|
||||||
# Validate ip address
|
# Validate ip address
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue