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