Skip to content

Commit f8e297b

Browse files
jaapmarcusErnesto Nicolás Carrea
andcommitted
Local ip not defind in ubuntu installer
Bug in the Ubuntu installer. In line 1811 and beyond, an unassigned $local_ip variable is used. In the Debian installer, this variable is assigned a value in line 1787. Co-Authored-By: Ernesto Nicolás Carrea <equistango@users.noreply.github.com>
1 parent 32062dc commit f8e297b

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)