icingaweb2: Use ipv4 in testing for Fedora 25

fc25 tries to access ::1, even if the container does not have a link
local address...
This commit is contained in:
Markus Frosch 2017-06-06 15:11:38 +02:00
parent 5cf833c4d3
commit 0479bcfff5

View File

@ -44,7 +44,7 @@ sleep 5
output=`mktemp`
if curl -v http://localhost/icingaweb2/authentication/login -o "$output"; then
if curl -v http://127.0.0.1/icingaweb2/authentication/login -o "$output"; then
if grep -q '<div id="login"' "$output"; then
echo "Login page available"
exit 0