New test profile

Minor simplification of A1PMS data config handling

Issue-ID: NONRTRIC-785
Signed-off-by: BjornMagnussonXA <bjorn.magnusson@est.tech>
Change-Id: I7c6fdbf82ccbb656c8c4c27c60ec3dfede598bf1
diff --git a/test/auto-test/PM_DEMO.sh b/test/auto-test/PM_DEMO.sh
index d80dd6d..2c1bb54 100755
--- a/test/auto-test/PM_DEMO.sh
+++ b/test/auto-test/PM_DEMO.sh
@@ -86,7 +86,16 @@
 
 set_a1pms_trace
 
-prepare_consul_config      SDNC  ".consul_config.json"
+__CONFIG_HEADER="NOHEADER"
+if [ $RUNMODE == "KUBE" ]; then
+    __CONFIG_HEADER="HEADER"
+else
+    if [[ "$A1PMS_FEATURE_LEVEL" == *"NOCONSUL"* ]]; then
+    __CONFIG_HEADER="HEADER"
+    fi
+    fi
+
+prepare_consul_config      SDNC  ".consul_config.json" $__CONFIG_HEADER
 
 if [ $RUNMODE == "KUBE" ]; then
     a1pms_load_config                       ".consul_config.json"