Using properties to reference scripts
To insert a script in a system package, you can create a local property to reference the script.
You can create a local property that contains a script, and then insert a parameter that refers to this property in the system package.
To use a local property to insert a script in a system package
- Create the local property:
- Click the Local Properties tab.
- Click Add
, and for Type, select Simple > Long Text.
- To the right of the Default value field, click Browse (
)
to open a text window. - Type your script in the text window.
- Click OK and then save the system package. Your property appears on the Local Properties tab.
- In the relevant system package field, insert a parameter that refers to the newly created script property. Enclose the property name with double question marks.
For example, suppose you created a long text script property called PARTITION_SOLARIS_8. In the script field on the Disk Partition panel, you could either type in:
??PARTITION_SOLARIS_8??
or you could click Select Property and select PARTITION_SOLARIS_8 from the drop-down menu of available properties. (When you use the Select Property icon, the double question marks are filled in automatically.)
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*