I am trying to utilize CPUSE on a gateway to install a shell scripts and run a few commands.
There may be better ways to install a shell script, but this allows the admin to install the script via web browser.
I have not been able to find documentation on how to create a CPuse file.
Link anyone ?
I tried to create a pkg but I am just guessing at the structure.
When running installer import local, I am getting a read error with the file hf.config
FW-LAB> installer import local /home/admin/ABC_Install_package.tgz
Preparing package for import. This operation might take a few moments
Note: The selected package will be copied into CPUSE repository
Info: Initiating import of ABC_Install_package.tgz...
Interactive mode is enabled. Press CTRL + C to exit (this will not stop the operation)
Result: Import of package ABC_Install_package.tgz Failed
Error occurred while trying to read hf.config file.
cat hf.config
1
PATCH_REG_PRODUCT=CPUpdates
PATCH_REG_VER=6.0
PATCH_REG_SP=4
PATCH_REG_MSP=8
PATCH_NAME= ABC_Install_package
TAKE_NUMBER=1
PACKAGE_TYPE=BUNDLE
DIRECT_BASE_VERSION=R80.10
[Expert@FW-LAB:0]# ls -l
total 20
drwxr-xr-x 2 admin root 4096 Feb 27 09:23 CheckPoint#fw1#ALL#6.0#4#8#ABC_Install_package
-rwxr-xr-x 1 admin root 1784 Feb 27 09:44 bundle.xml
-rw-rw-r-- 1 admin root 171 Feb 27 09:58 hf.config
drwxr-xr-x 2 admin root 4096 Feb 27 09:43 scripts
-rw-rw-r-- 1 admin root 7 Feb 27 10:48 take_number.conf