Skip to content

Commit d7c8d98

Browse files
authored
Merge pull request hestiacp#948 from hestiacp/fix/2020-07_installer-local-ip-missing
Local ip not defind in ubuntu installer
2 parents 3419511 + f8e297b commit d7c8d98

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

install/hst-install-ubuntu.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1766,6 +1766,7 @@ $HESTIA/bin/v-update-sys-ip > /dev/null 2>&1
17661766

17671767
# Get main IP
17681768
ip=$(ip addr|grep 'inet '|grep global|head -n1|awk '{print $2}'|cut -f1 -d/)
1769+
local_ip=$ip
17691770

17701771
# Configuring firewall
17711772
if [ "$iptables" = 'yes' ]; then

0 commit comments

Comments
 (0)