summaryrefslogtreecommitdiffstats
path: root/build/glustermg.spec
diff options
context:
space:
mode:
Diffstat (limited to 'build/glustermg.spec')
-rw-r--r--build/glustermg.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/glustermg.spec b/build/glustermg.spec
index 2caec786..ef00122e 100644
--- a/build/glustermg.spec
+++ b/build/glustermg.spec
@@ -99,7 +99,7 @@ if ! grep -q "org.apache.catalina.authenticator.NonLoginAuthenticator" /etc/tomc
<Valve className="org.apache.catalina.authenticator.NonLoginAuthenticator" \
disableProxyCaching="false" />' /etc/tomcat5/context.xml
fi
-if wget -q -O /dev/null http://169.254.169.254/latest; then
+if wget -t 1 -T 1 -q -O /dev/null http://169.254.169.254/latest; then
sed -i '/<constructor-arg value="multicast"/c <constructor-arg value="none" \/>' /opt/glustermg/%{release_version}/glustermg/WEB-INF/classes/spring/gluster-server-base.xml
fi