Add count for ping command
Change-Id: I567f9f8ff9cc6562ad08451a075926f58a6957f5
diff --git a/omec/omec-user-plane/templates/statefulset-upf.yaml b/omec/omec-user-plane/templates/statefulset-upf.yaml
index d996a89..9e71cf1 100644
--- a/omec/omec-user-plane/templates/statefulset-upf.yaml
+++ b/omec/omec-user-plane/templates/statefulset-upf.yaml
@@ -202,8 +202,8 @@
# arping does not work - BESS graph is still disconnected
#arping -c 2 -I {{ index $accessConfig "ifname" }} {{ .Values.config.upf.access.gateway }}
#arping -c 2 -I {{ index $coreConfig "ifname" }} {{ .Values.config.upf.core.gateway }}
- ping {{ .Values.config.upf.access.gateway }}
- ping {{ .Values.config.upf.core.gateway }}
+ ping -c 2 {{ .Values.config.upf.access.gateway }}
+ ping -c 2 {{ .Values.config.upf.core.gateway }}
sleep {{ .Values.config.gratuitousArp.interval }}
done
resources: