Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-108989

Does not trigger rhsm setup in from scratch

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • rhel-9.6, rhel-10.0
    • rhel-bootc-container
    • No
    • Low
    • rhel-image-mode
    • 2
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • Manual
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      Right now the rpm-ostree code only enables rhsm (subscription-manager) when operating on `/`. Our "from scratch" flow is impacted by this in the subscription-manager case.

      A workaround is to do a dummy "dnf" operation like "dnf repolist" in:

      FROM registry.redhat.io/rhel9/rhel-bootc:9.6 as builder
      RUN dnf repolist && /usr/libexec/bootc-base-imagectl build-rootfs --manifest=minimal /target-rootfs
      

      But we should change build-rootfs to handle this automatically.

              walters@redhat.com Colin Walters
              walters@redhat.com Colin Walters
              Colin Walters Colin Walters
              Wei Shi Wei Shi
              Gabriela Necasova Gabriela Necasova
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: