blob: e262373600fc16b97d802d408c33a5216361d48f [file] [log] [blame]
badhri854c028b32021-11-03 18:24:05 -05001#!/bin/sh
2
3# Copyright 2020-present Open Networking Foundation
4#
Ajay Lotan Thakur03189d22022-02-10 14:06:03 -06005# SPDX-License-Identifier: Apache-2.0
badhri854c028b32021-11-03 18:24:05 -05006
7set -xe
8
9{{- if .Values.config.coreDump.enabled }}
Ajay Lotan Thakur4ebd7e82022-01-14 09:11:42 -070010cp /gnbsim/bin/gnbsim /tmp/coredump/
badhri854c028b32021-11-03 18:24:05 -050011{{- end }}
12
Ajay Lotan Thakur4ebd7e82022-01-14 09:11:42 -070013cd /gnbsim
badhri854c028b32021-11-03 18:24:05 -050014cat ./config/gnb.conf
15cat /etc/hosts
Ajay Lotan Thakur0203c3b2022-03-21 13:40:11 -060016
17{{- if not .Values.config.gnbsim.singleInterface }}
18{{- range .Values.config.gnbsim.networkTopo }}
Hyunsun Moon2b21eb42022-03-24 01:52:22 -060019ip route replace {{ .upfAddr }} via {{ .upfGw }}
20{{- end }}
Ajay Lotan Thakur0203c3b2022-03-21 13:40:11 -060021{{- end }}
22
badhri854c028b32021-11-03 18:24:05 -050023sleep infinity