File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ echo "Prepare compose file and directorys"
99
1010USER_DATA_DIR=$HOME /devstack-data
1111HOSTNAME=$( hostname)
12- HOSTIP=$( hostname -i )
12+ HOSTIP=$( hostname -I | awk ' {print $1} ' )
1313
1414
1515echo " ########################################################################"
@@ -24,7 +24,10 @@ read -e -p "Your hostname (hit return if $HOSTNAME is correct) : " -i $HOSTNAME
2424echo " Setting HOSTNAME to $GIVEN_HOSTNAME "
2525HOSTNAME=$GIVEN_HOSTNAME
2626
27- read -e -p " Your hostIP (hit return if $HOSTIP is correct) : " -i $HOSTIP GIVEN_HOSTIP
27+ echo " Type your hostIP, I guess it is one of $( hostname -I) "
28+ echo " Remember, 127.0.0.1 is NOT the correct IP and the docker-Network starts with 172.x.y.z"
29+
30+ read -e -p " Your hostIP : " -i $HOSTIP GIVEN_HOSTIP
2831HOSTIP=$GIVEN_HOSTIP
2932
3033type openssl 2> /dev/null
You can’t perform that action at this time.
0 commit comments