Refer to the Scripts topic for how to register scripts
User RAM Agent Scripts are located in:
/home/LinMin/service/serviceScripts/User_source_ram_os_Scripts
LSM comes with 2 User RAM Agent example Scripts showing how to use the RAM Agent to access and copy files to/from the LSM Server and the system(Windows, Linux, BSD...) disk of the Machine being serviced:
# ll
total 8
-rwxr-xr-x. 1 root root 1062 Jan 8 15:59 User_Example_LinuxProcessingScript.sh
-rwxr-xr-x. 1 root root 1061 Jan 8 16:50 User_Example_WindowsProcessingScript.sh
It is recommended the User copy (and modify) these Scripts and Register only the copied Scripts:
# cp -P User_Example_WindowsProcessingScript.sh My_WindowsProcessingScript.sh
# ll
total 12
-rwxr-xr-x. 1 root root 1061 Jan 13 12:45 My_WindowsProcessingScript.sh
-rwxr-xr-x. 1 root root 1062 Jan 8 15:59 User_Example_LinuxProcessingScript.sh
-rwxr-xr-x. 1 root root 1061 Jan 8 16:50 User_Example_WindowsProcessingScript.sh
In this example, we Register a copy of the LSM-provided User RAM Agent Script
Your newly Registered User RAM Agent Script now appears as a drop-down selection in Payload Stages:
Search keyword(s): user_scripts