Dynamic Config Helm Changes

Change-Id: I5e59ea542bfeb7278781cd5efedeae0b44d97999
diff --git a/omec/5g-control-plane/templates/bin/_ausf-run.sh.tpl b/omec/5g-control-plane/templates/bin/_ausf-run.sh.tpl
index 820b6cb..43c3582 100644
--- a/omec/5g-control-plane/templates/bin/_ausf-run.sh.tpl
+++ b/omec/5g-control-plane/templates/bin/_ausf-run.sh.tpl
@@ -10,10 +10,6 @@
 cp /free5gc/ausf/ausf /tmp/coredump/
 {{- end }}
 
-cd /free5gc
-cp /tmp/config/* config/
+cat /free5gc/config/ausfcfg.conf
 
-cat config/free5GC.conf
-cat config/ausfcfg.conf
-
-./ausf/ausf -ausfcfg config/ausfcfg.conf
+./free5gc/ausf/ausf -ausfcfg /free5gc/config/ausfcfg.conf
diff --git a/omec/5g-control-plane/templates/bin/_nrf-run.sh.tpl b/omec/5g-control-plane/templates/bin/_nrf-run.sh.tpl
index d3205ea..023448e 100644
--- a/omec/5g-control-plane/templates/bin/_nrf-run.sh.tpl
+++ b/omec/5g-control-plane/templates/bin/_nrf-run.sh.tpl
@@ -11,10 +11,8 @@
 {{- end }}
 
 cd /free5gc
-cp /tmp/config/* config/
 sed -i "s/POD_IP/${POD_IP}/g" config/nrfcfg.conf
 
-cat config/free5GC.conf
 cat config/nrfcfg.conf
 
 ./nrf/nrf -nrfcfg config/nrfcfg.conf
diff --git a/omec/5g-control-plane/templates/bin/_nssf-run.sh.tpl b/omec/5g-control-plane/templates/bin/_nssf-run.sh.tpl
index 57f6613..f18e4d1 100644
--- a/omec/5g-control-plane/templates/bin/_nssf-run.sh.tpl
+++ b/omec/5g-control-plane/templates/bin/_nssf-run.sh.tpl
@@ -10,10 +10,6 @@
 cp /free5gc/nssf/nssf /tmp/coredump/
 {{- end }}
 
-cd /free5gc
-cp /tmp/config/* config/
+cat /free5gc/config/nssfcfg.conf
 
-cat config/free5GC.conf
-cat config/nssfcfg.conf
-
-./nssf/nssf -nssfcfg config/nssfcfg.conf
+./free5gc/nssf/nssf -nssfcfg /free5gc/config/nssfcfg.conf
diff --git a/omec/5g-control-plane/templates/bin/_pcf-run.sh.tpl b/omec/5g-control-plane/templates/bin/_pcf-run.sh.tpl
index a758c44..121eb51 100644
--- a/omec/5g-control-plane/templates/bin/_pcf-run.sh.tpl
+++ b/omec/5g-control-plane/templates/bin/_pcf-run.sh.tpl
@@ -10,10 +10,6 @@
 cp /free5gc/pcf/pcf /tmp/coredump/
 {{- end }}
 
-cd /free5gc
-cp /tmp/config/* config/
+cat /free5gc/config/pcfcfg.conf
 
-cat config/free5GC.conf
-cat config/pcfcfg.conf
-
-./pcf/pcf -pcfcfg config/pcfcfg.conf
+./free5gc/pcf/pcf -pcfcfg /free5gc/config/pcfcfg.conf
diff --git a/omec/5g-control-plane/templates/bin/_smf-run.sh.tpl b/omec/5g-control-plane/templates/bin/_smf-run.sh.tpl
index 9d5bcf6..adc5e90 100644
--- a/omec/5g-control-plane/templates/bin/_smf-run.sh.tpl
+++ b/omec/5g-control-plane/templates/bin/_smf-run.sh.tpl
@@ -11,10 +11,8 @@
 {{- end }}
 
 cd /free5gc
-cp /tmp/config/* config/
 sed -i "s/POD_IP/${POD_IP}/g" config/smfcfg.conf
 
-cat config/free5GC.conf
 cat config/smfcfg.conf
 cat config/uerouting.conf
 
diff --git a/omec/5g-control-plane/templates/bin/_udm-run.sh.tpl b/omec/5g-control-plane/templates/bin/_udm-run.sh.tpl
index 382cae4..9eaccb5 100644
--- a/omec/5g-control-plane/templates/bin/_udm-run.sh.tpl
+++ b/omec/5g-control-plane/templates/bin/_udm-run.sh.tpl
@@ -10,10 +10,6 @@
 cp /free5gc/udm/udm /tmp/coredump/
 {{- end }}
 
-cd /free5gc
-cp /tmp/config/* config/
+cat /free5gc/config/udmcfg.conf
 
-cat config/free5GC.conf
-cat config/udmcfg.conf
-
-./udm/udm -udmcfg config/udmcfg.conf
+./free5gc/udm/udm -udmcfg /free5gc/config/udmcfg.conf
diff --git a/omec/5g-control-plane/templates/bin/_udr-run.sh.tpl b/omec/5g-control-plane/templates/bin/_udr-run.sh.tpl
index 6610900..dda37aa 100644
--- a/omec/5g-control-plane/templates/bin/_udr-run.sh.tpl
+++ b/omec/5g-control-plane/templates/bin/_udr-run.sh.tpl
@@ -10,10 +10,6 @@
 cp /free5gc/udr/udr /tmp/coredump/
 {{- end }}
 
-cd /free5gc
-cp /tmp/config/* config/
+cat /free5gc/config/udrcfg.conf
 
-cat config/free5GC.conf
-cat config/udrcfg.conf
-
-./udr/udr -udrcfg config/udrcfg.conf
+./free5gc/udr/udr -udrcfg /free5gc/config/udrcfg.conf
diff --git a/omec/5g-control-plane/templates/bin/_webui-run.sh.tpl b/omec/5g-control-plane/templates/bin/_webui-run.sh.tpl
index 2be21a3..781e223 100644
--- a/omec/5g-control-plane/templates/bin/_webui-run.sh.tpl
+++ b/omec/5g-control-plane/templates/bin/_webui-run.sh.tpl
@@ -10,10 +10,6 @@
 cp /free5gc/webconsole/webui /tmp/coredump/
 {{- end }}
 
-cd /free5gc
-cp /tmp/config/* config/
+cat /free5gc/config/webuicfg.conf
 
-cat config/free5GC.conf
-cat config/webuicfg.conf
-
-./webconsole/webconsole -webuicfg config/webuicfg.conf
+./free5gc/webconsole/webconsole -webuicfg /free5gc/config/webuicfg.conf