Browse Source

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>
Jaap Marcus 5 years ago
parent
commit
249ed77b79
1 changed files with 1 additions and 0 deletions
  1. 1 0
      install/hst-install-ubuntu.sh

+ 1 - 0
install/hst-install-ubuntu.sh

@@ -1766,6 +1766,7 @@ $HESTIA/bin/v-update-sys-ip > /dev/null 2>&1
 
 # Get main IP
 ip=$(ip addr|grep 'inet '|grep global|head -n1|awk '{print $2}'|cut -f1 -d/)
+local_ip=$ip
 
 # Configuring firewall
 if [ "$iptables" = 'yes' ]; then