Create or Edit OS Build Plans

The Create OS Build Plan screen is available by selecting Create OS Build Plan at the top left in the navigation pane or by selecting ActionsCreate OS Build Plan from any OS Build Plan screen.

The Edit OS Build Plan screen is available by selecting ActionsEdit from any OS Build Plan screen, or by selecting from the OS Build Plans Overview screen.

If the Hewlett Packard Enterprise provided field in the General pane of the OS Build Plans screen is Yes, the OS Build Plan was created by Hewlett Packard Enterprise and is read only. To edit a Hewlett Packard Enterprise provided Build Plan, save the Build Plan to a new name by selecting ActionsSave as from the OS Build Plans screen and then edit the copy.

The following sections provide detailed information on creating and editing OS Build Plans.

Navigating the Create or Edit OS Build Plan screen

The View menu on the Create or Edit OS Build Plan screens enables you to easily scroll up or down to display different areas of the screen at the top of the window: select General, Steps, or Custom attributes.

Create or Edit OS Build Plan screen details

Screen component Description
Name

Description:

Label that will be associated with this build plan.

Data type:

Character string

May not begin with a space or punctuation and cannot have two or more continuous spaces.

The Name cannot contain: <, >, &, newlines, tabs, slashes (/), or backslashes (\).

Default value:

None

Required:

Yes

Examples:

ProLiant OS - RHEL6.2 x64 Scripted Installation

Description

Description:

Use this text area to create a short, meaningful synopsis of what this Build Plan does.

Data type:

Character string

The Description has a maximum length of 500 characters.

Default value:

None

Required:

No

Examples:

Install RHEL 6.2 on a server.

Type

Description:

Describes the type of action being performed by the Build Plan, such as the operating system this Build Plan will deploy to target servers.

For example, if an operating system is being deployed, the type will be OS — <operating system type>. When creating a Build Plan the default type is Other.

This field does not usually affect the operation of the Build Plan, but in some cases it is used by other Hewlett Packard Enterprise software products that integrate with Insight Control server provisioning. This is a drop-down list and is not alterable by the user.

If you are integrating Insight Control server provisioning with HPE OneView appliances see HPE OneView appliances for details on how this Type field is used.


[NOTE: ]

NOTE: Currently, you can only select one item from the Type list. If your Build Plan performs multiple functions, choose the Type that is most relevant to the product that will be consuming the information.


Required:

Yes

Default value:

When creating a Build Plan the default is Other

Add or Edit OS Build Plan steps

To add or edit a step

  1. From the Create OS Build Plan or Edit OS Build Plan screen, select Add steps or in a step row if you are editing an existing step.

  2. Select the type of step you would like to add from the Type menu. Selections are:

    • Run script—a script in the appliance database will be run.

    • Deploy package—a package in the appliance database will be placed on the target server and decompressed (unzipped).

    • Capture configuration file—a text file from the target server will be captured and stored in the appliance database.

    • Deploy configuration file—a configuration file will be placed on the target server so it may be used for the remainder of the installation.

    The selection in the Type menu, controls what is displayed in the Step table.

    If you select Capture configuration file, there will be no Step table; you only need to specify the full path name of the configuration file that will be captured from the target server.

  3. Select the step to add. You can type the item name, or portion of the name, to search through the list of available items, or you can select from the Step table. You can only select one item at a time to add, however you can use the Add+ button to continue adding steps.

    If there is a description for the item selected, it is displayed in the Description text field.

    If you select Capture configuration file, there will be no Step table; you only need to specify the full path name of the configuration file that will be captured from the target server.

  4. Specify additional information depending on the type of step selected:

    • Parameters—This text field is only displayed for Script step types. Use this text box to define the parameters to be used when the script is run.

    • Install path—This text field is only displayed for Deploy package and Deploy configuration file step types. Use this text box to specify the full path where the package or configuration file should be deployed to on the target server.

    • Overwrite files on server—This check box is only displayed for Deploy configuration file step types. Selecting this enables IC server provisioning to overwrite existing files on the target server.

  5. From the Add Steps screen, select an action:

    • Add—Adds the selected step to the Build Plan and exits the screen.

    • Add+—Adds the selected steps to the Build Plan and remains in the Add Steps screen so you can continue adding steps.

    • Cancel—Exits the Add Steps screen without adding any additional steps.

  6. From the Create OS Build Plan or Edit OS Build Plan screen select an action:

    • OK – Saves all changes that were made and closes the screen.

    • Cancel – Exits the screen without saving any edits since your last save.

To reorder steps

  1. Select the steps you want to move. You can use the Ctrl and Shift keys to select multiple steps.

  2. Select the down and up arrows to move the steps down or up in the list of steps.

  3. Select an action:

    • OK – Saves all changes that were made and closes the screen.

    • Cancel – Exits the screen without saving any edits since your last save.

To edit the parameters associated with a step

Follow this procedure to edit script parameters and edit the install parameters for deploying packages and configuration files.

  1. Select on the row of the step you want to edit.

  2. Enter parameters in the Parameters or Install path text box, located at the bottom of the Edit Step Parameters screen. The Overwrite files on server check box is available for steps that deploy files to the target server.

    For more detail, see Procedure: To add or edit a steps.

  3. From the Edit Step Parameters screen select OK to save changes or Cancel to exit without saving changes. Select OK again.

To delete a step

  1. Select on the row of the step you want to delete.

  2. Select OK to save the changes or Cancel to exit without saving.

Create or Edit OS Build Plan custom attributes

From the OS Build Plans screens you can create, edit and delete Build Plan custom attributes.

For more information about custom attributes see Custom attributes.

To create a new custom attribute for a Build Plan

  1. From the Create OS Build Plan or Edit OS Build Plan screen, select Create custom attribute.

  2. On the Create Custom Attribute screen, enter the custom attribute name and value.

  3. From the Create Custom Attribute screen select OK to save the changes or Cancel to exit without saving.

  4. From the Create OS Build Plan or Edit OS Build Plan screen select OK to save the changes or Cancel to exit without saving.

To change the value of a Build Plan custom attribute

  1. Select on the row of the custom attribute you want to modify.

  2. On the Edit Custom Attribute screen , enter the new value.

  3. From the Edit Custom Attribute screen select OK to save the changes or Cancel to exit without saving. Select OK again.

To delete a Build Plan custom attribute

  1. Select on the row of the custom attribute you want to delete.

  2. Select OK to save the changes or Cancel to exit without saving.