8 Click Next to display the Script page.
9 Fill in the fields:
Pre-change action: Specify the actions to perform before modifying the text files:
Executable type: Select Script from the drop-down list.
Script to run: Select Define Your Own Script from the drop-down list.
Define your own script: Type the following in the box:
#!/bin/bash
INSTALLFILE=/opt/novell/oes_install/selections/novell-base.sel
if [ -f $INSTALLFILE ]; then
fi
Action when the execution fails: Select an action you want the system to perform when
an execution fails. You can continue modifying the file by selecting Continue modifying
the text file or you can stop the modifications in the file by selecting Do not modify the text
file.
NOTE: The backup of the text file is taken after the pre-change action completes the
execution and before the text file modification starts.
Post-change action: Specify the actions to perform after the actual changes are done in the
file.
Executable type: Select Script from the drop-down list.
Script to run: Select Define Your Own Script from the drop-down list.
Define your own script: Type the following in the box:
#!/bin/bash
INSTALLFILE=/opt/novell/oes_install/selections/novell-base.sel
if [ -f $INSTALLFILE ]; then
fi
10 Click Next to display the Summary page.
11 Click Finish to create the policy as configured according to the settings on the Summary page.
The policy is created but not assigned to any devices.
12 In the Policies page, click the newly created policy.
13 Click the Details tab to add two new changes to
novell-base.sel
13a Select /opt/novell/oes_install/selections/novell-base.sel.
13b Click New, then click Change to display the Add New Change to File dialog box.
13c Configure the following options:
Change Name: Specify
Change Mode: Select Search file from the drop-down list.
Search String: Specify
58
Novell ZENworks 7.2 Linux Management Installation Guide
chmod +w $INSTALLFILE
chmod -w $INSTALLFILE
, one for removing rcd and the other for removing red-carpet from the file.
rcd
rcd
/opt/novell/oes_install/selections/
as the change name.
as the search string.
Need help?
Do you have a question about the ZENWORKS LINUX MANAGEMENT 7.2 IR2 - INSTALLATION GUIDE 07-20-2009 and is the answer not in the manual?
Questions and answers