Promoting a Versioned Custom Software Source to a Lifecycle Stage

Promote the content in a versioned custom software source in OS Management Hub to provide that content to all instances assigned to a lifecycle stage.

When promoting a versioned source to a lifecycle stage, the service:

  • Associates the versioned custom software source with the lifecycle stage.
  • Detaches previously attached software sources from the instance.
  • Attaches the versioned custom software source associated with the lifecycle stage to the instance.
  • Installs all the packages and modules in the attached versioned custom software source to the instance.

See also:

  • Use the oci os-management-hub lifecycle-stage promote-software-source command and required parameters to promote a versioned custom software source to a lifecycle stage. Promoting the software source to the first stage requires you use the software-source-id option.

    oci os-management-hub lifecycle-stage promote-software-source --stage-id ocid --software-source-id ocid [OPTIONS]

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

  • Run the PromoteSoftwareSourceToLifecycleStage operation to promote a versioned custom software source to a lifecycle stage.