Skip to content

Commit

Permalink
Merge pull request #368 from bgraef/main
Browse files Browse the repository at this point in the history
Update OSMH Post-12
  • Loading branch information
bgraef authored Jun 4, 2024
2 parents bec184e + 9eec8ae commit 81c96cc
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions content/posts/osmh/post-12/index.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,28 @@
---
title: "Create Custom Software Sources"
date: 2023-09-15
title: "Create Software Sources with Package Lists"
date: 2024-06-04
draft: false
summary: "Learn how to create Oracle OS Management Hub custom and versioned custom software sources for Oracle Linux from a reference package list using the OCI CLI."
summary: "Learn how to create Oracle OS Management Hub custom and versioned custom software sources for Oracle Linux from a reference package list."
tags: ["osmh","tutorial","osmh-admin"]
showDate: true
---

## Links

:spiral_notepad: [Tutorial](https://docs.oracle.com/en/learn/osmh-custom-swsrc-cli)
:spiral_notepad: [Tutorial](https://docs.oracle.com/en/learn/osmh-custom-swsrc-pkglist)

## Details

Creating your own customized Oracle OS Management Hub software sources is powerful. Using the OCI console, you can apply filters to limit the set of packages and modules to just those you want and create a custom software source or versioned custom software source. Sometimes, using the filters to generate a lengthy set of packages at just the patch level you want is impractical. There is a faster and more streamlined way to create custom and versioned custom software sources using the OCI CLI. OS Management Hub integrates fully with the OCI CLI and the OCI API/SDK, so you can programmatically interact with the service. In this tutorial, you'll learn how to take a reference package list from an Oracle Linux instance and use the OCI CLI to create a custom or versioned custom software source in OS Management Hub.
Custom software sources in OS Management Hub let you control the packages and modules available to your managed instances. OS Management Hub has flexible and powerful options for creating custom software sources. You can apply filters to limit the set of packages and modules or provide a reference package list from an existing Oracle Linux instance. Package dependencies can also be auto-resolved. You can create custom software sources using the Oracle Cloud Console, the OCI CLI, or programmatically with the OCI API/SDK. In this tutorial, youll learn how to take a reference package list from an Oracle Linux instance and use Oracle Cloud Console to create a custom or versioned custom software source in OS Management Hub.

### Objectives

In this tutorial, you will learn how to:

- Create Oracle OS Management Hub custom and versioned custom software sources for Oracle Linux from a reference package list using the OCI CLI
- Create Oracle OS Management Hub custom and versioned custom software sources for Oracle Linux from a reference package list.

### Prerequisites

- Access to your OCI tenancy
- [OCI Privileges](https://docs.oracle.com/iaas/osmh/doc/getstarted.htm#required-iam-policies) to read OS Management Hub managed instances and create software sources in OCI
- [OCI API Signing Key](https://docs.oracle.com/iaas/Content/API/Concepts/apisigningkey.htm) is created and your ~/.oci/config is setup
- [OCI CLI v3.29.2](https://docs.oracle.com/iaas/Content/API/SDKDocs/cliinstall.htm#Quickstart) or newer installed (check with oci --version)
- A reference Oracle Linux 7, 8, or 9 system and its OCID (if managed by OS Management Hub)
- The OCID of your OCI tenancy
- Access to the internet
- OCI Privileges to read OS Management Hub managed instances and create software sources in OCI
- A reference Oracle Linux system

0 comments on commit 81c96cc

Please sign in to comment.