Skip to content

Instantly share code, notes, and snippets.

@sjha4
Created May 1, 2025 14:04
Show Gist options
  • Select an option

  • Save sjha4/2395f4af902ca6b47a282eb0af7d497a to your computer and use it in GitHub Desktop.

Select an option

Save sjha4/2395f4af902ca6b47a282eb0af7d497a to your computer and use it in GitHub Desktop.
Convert package-mode centos10 to image-mode
podman run --rm -it --privileged --pull=newer --security-opt label=type:unconfined_t -v /var/lib/containers/storage:/var/lib/containers/storage -v /:/target -v /root/.ssh/authorized_keys:/bootc_authorized_ssh_keys/root --pid=host quay.io/centos-bootc/centos-bootc:stream10 bootc install to-existing-root --root-ssh-authorized-keys /bootc_authorized_ssh_keys/root
@sjha4
Copy link
Author

sjha4 commented May 1, 2025

For image mode access to satellite registry: ln -sf /run/user/0/containers/auth.json /etc/ostree/auth.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment