Vijaya Tiruveedula | 863664c | 2022-08-04 20:47:32 +0530 | [diff] [blame^] | 1 | #!/bin/bash |
badhri85 | 4c028b3 | 2021-11-03 18:24:05 -0500 | [diff] [blame] | 2 | |
3 | # Copyright 2020-present Open Networking Foundation | ||||
4 | # | ||||
Ajay Lotan Thakur | 03189d2 | 2022-02-10 14:06:03 -0600 | [diff] [blame] | 5 | # SPDX-License-Identifier: Apache-2.0 |
badhri85 | 4c028b3 | 2021-11-03 18:24:05 -0500 | [diff] [blame] | 6 | |
7 | set -xe | ||||
8 | |||||
Ajay Thakur | b0028b6 | 2022-02-04 17:47:29 +0000 | [diff] [blame] | 9 | IMGPATH={{ .Values.config.imagePath }} |
badhri85 | 4c028b3 | 2021-11-03 18:24:05 -0500 | [diff] [blame] | 10 | {{- if .Values.config.coreDump.enabled }} |
Ajay Thakur | b0028b6 | 2022-02-04 17:47:29 +0000 | [diff] [blame] | 11 | cp $IMGPATH/amf/amf /tmp/coredump/ |
badhri85 | 4c028b3 | 2021-11-03 18:24:05 -0500 | [diff] [blame] | 12 | {{- end }} |
13 | |||||
Ajay Thakur | b0028b6 | 2022-02-04 17:47:29 +0000 | [diff] [blame] | 14 | cd $IMGPATH |
badhri85 | 4c028b3 | 2021-11-03 18:24:05 -0500 | [diff] [blame] | 15 | cat config/amfcfg.conf |
16 | |||||
Vijaya Tiruveedula | 863664c | 2022-08-04 20:47:32 +0530 | [diff] [blame^] | 17 | #GOTRACEBACK=crash ./amf/amf -amfcfg config/amfcfg.conf |