From fcc897bc6dfd41b11fbf1feaf233eedf9eeb257e Mon Sep 17 00:00:00 2001 From: Charles Wyble Date: Sun, 21 Apr 2019 13:25:37 -0500 Subject: [PATCH] fix the installer --- slack-dist/bin/slackInstall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slack-dist/bin/slackInstall.sh b/slack-dist/bin/slackInstall.sh index 48d02f7..0a84b27 100755 --- a/slack-dist/bin/slackInstall.sh +++ b/slack-dist/bin/slackInstall.sh @@ -8,7 +8,7 @@ export MGMT_INT="$(netstat -rn |grep 0.0.0.0|awk '{print $NF}' |head -n1 )" -export MGMT_IP="$(ifconfig eth0|grep inet|awk '{print $2}'|head -n1)" +export MGMT_IP="$(ifconfig $MGMT_INT |grep inet|awk '{print $2}'|head -n1)" export DIST_SERVER="https://techops.turnsys.net/" export DIST_ROOT_PATH="slack-dist"