From 047be8108c04abb8467bea9ab26fcbaaa429496b Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Tue, 28 Jun 2016 16:54:56 +0300 Subject: [PATCH] fix for missing ip in install header --- install/vst-install-debian.sh | 2 +- install/vst-install-rhel.sh | 2 +- install/vst-install-ubuntu.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/install/vst-install-debian.sh b/install/vst-install-debian.sh index 4e6b7aa2..e5e6af5f 100755 --- a/install/vst-install-debian.sh +++ b/install/vst-install-debian.sh @@ -1132,7 +1132,7 @@ $VESTA/bin/v-update-sys-ip ip=$(ip addr|grep 'inet '|grep global|head -n1|awk '{print $2}'|cut -f1 -d/) # Get public ip -pub_ip=$(wget vestacp.com/what-is-my-ip/ -O - 2>/dev/null) +pub_ip=$(curl vestacp.com/what-is-my-ip/) if [ ! -z "$pub_ip" ] && [ "$pub_ip" != "$ip" ]; then $VESTA/bin/v-change-sys-ip-nat $ip $pub_ip fi diff --git a/install/vst-install-rhel.sh b/install/vst-install-rhel.sh index 5009ca0f..090c20c9 100755 --- a/install/vst-install-rhel.sh +++ b/install/vst-install-rhel.sh @@ -1202,7 +1202,7 @@ $VESTA/bin/v-update-sys-ip ip=$(ip addr|grep 'inet '|grep global|head -n1|awk '{print $2}'|cut -f1 -d/) # Get public ip -pub_ip=$(wget vestacp.com/what-is-my-ip/ -O - 2>/dev/null) +pub_ip=$(curl vestacp.com/what-is-my-ip/) if [ ! -z "$pub_ip" ] && [ "$pub_ip" != "$ip" ]; then $VESTA/bin/v-change-sys-ip-nat $ip $pub_ip fi diff --git a/install/vst-install-ubuntu.sh b/install/vst-install-ubuntu.sh index 20d0814e..c50a4a43 100755 --- a/install/vst-install-ubuntu.sh +++ b/install/vst-install-ubuntu.sh @@ -1121,7 +1121,7 @@ $VESTA/bin/v-update-sys-ip ip=$(ip addr|grep 'inet '|grep global|head -n1|awk '{print $2}'|cut -f1 -d/) # Get public ip -pub_ip=$(wget vestacp.com/what-is-my-ip/ -O - 2>/dev/null) +pub_ip=$(curl vestacp.com/what-is-my-ip/) if [ ! -z "$pub_ip" ] && [ "$pub_ip" != "$ip" ]; then $VESTA/bin/v-change-sys-ip-nat $ip $pub_ip fi