If you want to configure any other Novell products on the Novell Open Enterprise Server 1/SP1/SP2 after installing the ZENworks 7.3 Linux Management Agent, you must first remove the entries for the earlier version of rug, rcd, and red-carpet from /opt/novell/oes_install/selections/novell-base.sel by using a Text File policy.
Log into ZENworks Control Center.
Click the tab.
In the list, click , then click to display the Create New Policy page.
In the list, click , then click to display the Policy Name page.
Fill in the fields:
Policy name: (Required) Provide a unique name for the policy. The name you provide displays in the ZENworks Control Center interface, which is the administrative tool for ZENworks Linux Management.
Folder: (Required) Type the name or browse to the folder that this policy will be created in. Folders display in the ZENworks Control Center.
Description: Provide a short description of the policy. This description displays on the policy's Summary page in the ZENworks Control Center interface.
Click to display the General page.
Configure the following settings:
File Name: Specify /opt/novell/oes_install/selections/novell-base.sel as the filename.
Maximum number of versions to retain: Specify the maximum number of backups to be maintained for a file that has been changed. If the maximum limit of backups is reached, the oldest backup of a file is deleted. The backup is created in the same location as the specified file.
Change name: Specify rug as the change name.
Change mode: Select from the drop-down list.
Search string: Specify rug as the search string
Case sensitive: Select this option to distinguish between uppercase and lowercase characters. When is selected, the system finds only those instances in which the capitalization matches the text you have specified in the search string.
Search occurrence: Select from the drop-down list. The system finds the first occurrence of the search string and performs the specified action on it.
Result action: Select from the drop-down list.
Click to display the Script page.
Fill in the fields:
Pre-change action: Specify the actions to perform before modifying the text files:
Executable type: Select from the drop-down list.
Script to run: Select 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
chmod +w $INSTALLFILE
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 or you can stop the modifications in the file by selecting .
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 from the drop-down list.
Script to run: Select 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
chmod -w $INSTALLFILE
fi
Click to display the Summary page.
Click to create the policy as configured according to the settings on the Summary page. The policy is created but not assigned to any devices.
In the Policies page, click the newly created policy.
Click the tab to add two new changes to /opt/novell/oes_install/selections/novell-base.sel, one for removing rcd and the other for removing red-carpet from the file.
Select .
Click , then click to display the Add New Change to File dialog box.
Configure the following options:
Change Name: Specify rcd as the change name.
Change Mode: Select from the drop-down list.
Search String: Specify rcd as the search string.
Case sensitive: Select this option to distinguish between uppercase and lowercase characters. When is selected, the system finds only those instances in which the capitalization matches the text you have specified in the search string.
Result Action: Select from the drop-down list.
Click .
Repeat Step 13.a through Step 13.d to create a change for the red-carpet entry.
Click the Summary tab, and increment the revision number so that the changes made to the policy are applied during the next device refresh.
Assign the policy to device and set the policy enforcement schedule. For more information on how to assign the policy to a device, see Assigning Policies
in the Novell ZENworks 7.3 Linux Management Administration Guide.
Refresh the managed device.
The policy is successfully applied to the device, and the entries for the earlier version of rug, red and red-carpet are removed from /opt/novell/oes_install/selections/novell-base.sel.
You can update the OES Linux server having ZENworks 7.3 Linux Management Agent installed by using the OES patch bundles. For detailed information, see TID 3738735 at Novell Support web site.