blob: 4a2f3f67da574f14d2e595d2094968d36cd4838a [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/amf/amf /tmp/coredump/
{{- end }}
cd /free5gc
cp /tmp/config/* config/
sed -i "s/POD_IP/${POD_IP}/g" config/amfcfg.conf
cat config/free5GC.conf
cat config/amfcfg.conf
./amf/amf -amfcfg config/amfcfg.conf