blob: e262373600fc16b97d802d408c33a5216361d48f [file] [log] [blame]
#!/bin/sh
# Copyright 2020-present Open Networking Foundation
#
# SPDX-License-Identifier: Apache-2.0
set -xe
{{- if .Values.config.coreDump.enabled }}
cp /gnbsim/bin/gnbsim /tmp/coredump/
{{- end }}
cd /gnbsim
cat ./config/gnb.conf
cat /etc/hosts
{{- if not .Values.config.gnbsim.singleInterface }}
{{- range .Values.config.gnbsim.networkTopo }}
ip route replace {{ .upfAddr }} via {{ .upfGw }}
{{- end }}
{{- end }}
sleep infinity