Here is a way to solve the
problem of a customer wanting a single file to download for both their config as well as their policy file in EXOS.
First you need to edit the
file by using the
utility in EXOS by typing
. Details on how to use vi are in the docs.
In the
file, I added a line that exits to the Linux shell, tars the two files together and saves that tar file in the
directory which can be access from EXOS.
Here is the line to be put into the exshrc.xsf :
code:alias tar-pol-cfg "run script shell.py cd /usr/local/cfg/;tar cvf your_filename.tar your_policy.pol primary.cfg"
When you exit back into EXOS and type
to list the files, you see the ā
ā listed in the directory which you canSCP off or save as one file via XMC or other method.