You can add a Do Not Override by Layer rule. This rule allows the base layer to distribute a file only if it does not exist in the CVD, and makes it possible for certain CVD files to remain the same across base layer updates.

About this task

The same syntax apply as for layer rule sets. See Create a Rule Set based on an Existing Rule Set.

Procedure

  1. In the Mirage Management console, expand the Image Composer node and select Layer Rules.
  2. Select a base layer rule set.

    The same syntax for layer rule sets applies to a base layer rule set.

  3. Scroll to and configure the Do Not Override By Layer rules and rule exceptions.

    Option

    Description

    Rules list

    Defines the files and directories on the reference machine that must not be applied to the CVD.

    Rule Exceptions list

    Lists specific files and directories within the directories to be excluded that must be applied.

    All files not matching a rule in the Rules list are applied.

    Option

    Action

    Add a new rule or a rule exception

    1. Click Add next to the relevant list.

    2. Type the rule or exception details, and click OK.

    Edit a rule or rule exception

    1. Select the rule or rule exception line.

    2. Click Edit next to the relevant list.

    3. Correct the rule or exception details, and click OK.

    Remove a rule or exception

    Select the rule or exception line and click Remove next to the relevant list.

  4. When you are finished working with this rule set, click OK.