Fix Passing commands to PODs issue
Change-Id: Idd05844a0a16ed6a9c794f9f227601afaf7fae5b
diff --git a/mcord/mcord-control-plane/templates/hss.yaml b/mcord/mcord-control-plane/templates/hss.yaml
index dfc9051..40b8f75 100644
--- a/mcord/mcord-control-plane/templates/hss.yaml
+++ b/mcord/mcord-control-plane/templates/hss.yaml
@@ -52,13 +52,13 @@
command: ["bash", "-xc"]
args:
- until nslookup {{ .Values.hssdb_hostname }}; do echo waiting for cassandra; sleep 2; done;
- - sleep 5;
- - cqlsh --file /scripts/oai_db.cql cassandra;
- - /scripts/data_provisioning_users.sh 302720100000421 1122334456 apn1 6226194254742F2D67145153602F7C8D 1 cassandra {{ .Values.mme_hostname }} {{ .Values.mme_hostname }};
- - cqlsh -e "use vhss; update users_imsi set opc='D6CAF10C337FD65AC31A18EBACBF5BF9' where imsi='302720100000421';" cassandra;
- - cqlsh -e "select imsi,key,opc,sqn from vhss.users_imsi;" cassandra;
- - /scripts/data_provisioning_mme.sh 1 19136246000 {{ .Values.mme_hostname }} {{ .Values.mme_hostname }} 1 cassandra;
- - /scripts/data_provisioning_mme.sh 1 19136246000 smsrouter.test3gpp.net test3gpp.net 0 cassandra;
+ sleep 5;
+ cqlsh --file /scripts/oai_db.cql cassandra;
+ /scripts/data_provisioning_users.sh 302720100000421 1122334456 apn1 6226194254742F2D67145153602F7C8D 1 cassandra {{ .Values.mme_hostname }} {{ .Values.mme_hostname }};
+ cqlsh -e "use vhss; update users_imsi set opc='D6CAF10C337FD65AC31A18EBACBF5BF9' where imsi='302720100000421';" cassandra;
+ cqlsh -e "select imsi,key,opc,sqn from vhss.users_imsi;" cassandra;
+ /scripts/data_provisioning_mme.sh 1 19136246000 {{ .Values.mme_hostname }} {{ .Values.mme_hostname }} 1 cassandra;
+ /scripts/data_provisioning_mme.sh 1 19136246000 smsrouter.test3gpp.net test3gpp.net 0 cassandra;
containers:
- name: hss
image: {{ .Values.hss.images.hss }}