Hi,
Right now I'm working with MDS R77.10 and in the middle of creating mini script (pushpolicy.sh) to automate install policy via cli as per below example. (Currently not pushing via GUI because of timeout issue)
#!/bin/bash
mdsenv 172.16.1.1
fwm load POLICY_10082020 FW_CLUSTER0001
and then chmod the script as well.
chmod +x pushpolicy.sh
But when I execute the script, below error will come up.
[Expert@firewallmds01]#./pushpolicy.sh
./pushpolicy.sh: line 3: mdsenv: command not found
[Expert@firewallmds01]#
From my reading, it may related to environment PATH, but still can't figure it out.
How can I overcome this issue? Or any better way to automate this process?
I just want to make this process easier to use by anyone in my team regardless of their linux knowledge.