Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Commit

Permalink
Merge pull request #494 from jlebon/pr/add-subman
Browse files Browse the repository at this point in the history
Add subscription-manager
  • Loading branch information
cgwalters committed Apr 26, 2024
2 parents d297f3b + 2b22ff4 commit edadf0a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions centos-stream-common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ repos:
- baseos
- appstream

packages:
- subscription-manager

# Configuration for bootc
postprocess:
# XFS is our default filesystem
Expand All @@ -12,3 +15,11 @@ postprocess:
[install]
root-fs-type = "xfs"
EOF
# These enable librhsm which enables host subscriptions to work in containers
# https://github.com/rpm-software-management/librhsm/blob/fcd972cbe7c8a3907ba9f091cd082b1090231492/rhsm/rhsm-context.c#L30
# https://github.com/openshift/os/pull/876/commits/dd35dd0e102aeed90df14f05c8ae9da4c8c5962a
- |
#!/usr/bin/bash
set -xeuo pipefail
ln -sr /run/secrets/etc-pki-entitlement /etc/pki/entitlement-host
ln -sr /run/secrets/rhsm /etc/rhsm-host
2 changes: 1 addition & 1 deletion fedora-bootc
Submodule fedora-bootc updated from 27ead1 to 582297

0 comments on commit edadf0a

Please sign in to comment.