Editing a Profile

Modify the settings of a user-defined profile in OS Management Hub.

Editing a profile doesn't affect instances that previously registered with the profile. To change instance settings after registration, such as attached software sources, do so directly through the service. For example, Attaching Software Sources to an Instance.

Note

You can't edit service-provided profiles.
  • On the Profiles list page, select the name of the profile. If you need help finding the list page, see Listing Profiles.

    Edit the name or description

    1. On the profiles details page, select the Edit button.
    2. Update the profile information:
      • Name: Enter a name for the profile. You can add or change the name later. The name doesn't need to be unique, because an Oracle Cloud Identifier (OCID) uniquely identifies the profile. Avoid entering confidential information.
      • Description: (Optional) Enter a description for the profile. Avoid entering confidential information.
      • If in the root compartment, you can optionally set this profile as the default.
    3. Select Save changes.

    Add or remove software sources

    This procedure applies to software source profiles only.

    1. On the profiles details page, view associated software sources under Associated resources.
    2. To add software sources, select Attach.
    3. To remove software sources, select the sources and select Detach.

    Change group

    This procedure applies to group profiles only.

    1. On the profiles details page, select Edit next to the Type: Group field.
    2. Select a compartment
    3. Select a group from the list. The list only displays groups with the same OS and architecture as the original.
    4. Select Save Changes.

    Change lifecycle environment or stage

    This procedure applies to lifecycle profiles only.

    1. On the profiles details page, select Edit next to the Type: Lifecycle environment field.
    2. Select a compartment
    3. Select a lifecycle from the list, and then select a stage. The list only displays lifecycles with the same OS and architecture as the original.
    4. Select Save Changes.

    Change the associated management station

    This procedure applies to on-premises or third-party cloud profiles only.

    1. On the profiles details page, Change next to the Management station: field.
    2. Select a compartment
    3. Select a management station.
    4. Select Save Changes.
  • Use the oci os-management-hub profile update command and required parameters to edit the details of a profile.

    oci os-management-hub profile update --profile-id ocid [OPTIONS]

    For a complete list of flags and variable options for CLI commands, see the Command Line Reference.

  • Run the UpdateProfile operation to edit the basic details for a profile.