blob: b47eb2116ad36845176903859c2c37e3b22be1a9 [file] [log] [blame]
Badhrinath987e1d82020-11-20 13:23:58 -06001#!/bin/sh
2
3# Copyright 2020-present Open Networking Foundation
4#
5# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
6
7set -xe
8
9{{- if .Values.config.coreDump.enabled }}
10cp /free5gc/pcf/pcf /tmp/coredump/
11{{- end }}
12
Badhrinath987e1d82020-11-20 13:23:58 -060013cd /free5gc
Hyunsun Moon6a651482021-02-26 01:46:44 -080014cp /tmp/config/* config/
15sed -i "s/POD_IP/${POD_IP}/g" config/pcfcfg.conf
16
17cat config/free5GC.conf
18cat config/pcfcfg.conf
19
20./pcf/pcf -pcfcfg config/pcfcfg.conf