Netcool/Impact core user-scripts configmap

Use this configmap to create the my-script.sh user script, which is saved to the pod in the /home/netcool/etc/user-scripts directory.

Contents

The following table shows the data element that is contained in the Netcool®/Impact core user-scripts configmap (<release_name>-nciserver-user-scripts):

Table 1. Data element in the Netcool/Impact core user-scripts configmap (<release_name>-nciserver-user-scripts)
Data element Description More information

my-script.sh

Add bash shell script commands to this data element to create the my-script.sh file in the /home/netcool/etc/user-scripts directory.

You can add several lines with one command per line.

Indent the text with four spaces to align it with the preexisting echo command.

An example of the data element in this configmap is provided.

Data element: my-script.sh

Refer to the following example to see the my-script.sh data element in use.
my-script.sh: |
    #
    # User specific configuration scripts.
    #
    echo "Hello World"