blob: 8c057cb65aa6511106c785abb14324c69cfedcdf [file] [log] [blame]
Vijaya Tiruveedula863664c2022-08-04 20:47:32 +05301#!/bin/bash
badhri854c028b32021-11-03 18:24:05 -05002
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
Ajay Thakurb0028b62022-02-04 17:47:29 +00009IMGPATH={{ .Values.config.imagePath }}
badhri854c028b32021-11-03 18:24:05 -050010{{- if .Values.config.coreDump.enabled }}
Ajay Thakurb0028b62022-02-04 17:47:29 +000011cp $IMGPATH/amf/amf /tmp/coredump/
badhri854c028b32021-11-03 18:24:05 -050012{{- end }}
13
Ajay Thakurb0028b62022-02-04 17:47:29 +000014cd $IMGPATH
badhri854c028b32021-11-03 18:24:05 -050015cat config/amfcfg.conf
16
Vijaya Tiruveedula863664c2022-08-04 20:47:32 +053017#GOTRACEBACK=crash ./amf/amf -amfcfg config/amfcfg.conf