Giving an EXOS customer a single file to download for both their config as well as their policy file

  • 3
  • Idea
  • Updated 2 months ago
  • (Edited)
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 exshrc.xsf file by using the vi utility in EXOS by typing vi exshrc.xsf. Details on how to use vi are in the docs.

In the exshrc.xsf file, I added a line that exits to the Linux shell, tars the two files together and saves that tar file in the usr/local/cfg directory which can be access from EXOS.

Here is the line to be put into the exshrc.xsf : 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 ls to list the files, you see the “your_filename.tar” listed in the directory which you canSCP off or save as one file via XMC or other method.

Photo of Tony Erwin

Tony Erwin

  • 90 Points 75 badge 2x thumb

Posted 2 months ago

  • 3
Photo of OscarK

OscarK, ESE

  • 7,702 Points 5k badge 2x thumb
Upload debug would do almost the same for you.