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

Add subscription-manager #494

Merged
merged 2 commits into from
Apr 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading