blob: b47eb2116ad36845176903859c2c37e3b22be1a9 [file] [log] [blame]
#!/bin/sh
# Copyright 2020-present Open Networking Foundation
#
# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
set -xe
{{- if .Values.config.coreDump.enabled }}
cp /free5gc/pcf/pcf /tmp/coredump/
{{- end }}
cd /free5gc
cp /tmp/config/* config/
sed -i "s/POD_IP/${POD_IP}/g" config/pcfcfg.conf
cat config/free5GC.conf
cat config/pcfcfg.conf
./pcf/pcf -pcfcfg config/pcfcfg.conf