Skip to content

Instantly share code, notes, and snippets.

@mancubus77
Created December 20, 2021 11:16
Show Gist options
  • Save mancubus77/0fff9c8f7e2296798d9fdd12c5d025bc to your computer and use it in GitHub Desktop.
Save mancubus77/0fff9c8f7e2296798d9fdd12c5d025bc to your computer and use it in GitHub Desktop.
ACM Install on OCP notes
OCP needs to be not lower than 4.8.23 because of Ironc bug https://github.com/openshift/ironic-image/pull/229
AI needs to be installed as part of ACM, not AI itself
isoinfo -x /images/assisted_installer_custom.img -i YOUR_MINIMAL_ISO.iso > assisted_initrd.img.gz # extract the initrd image
gunzip assisted_initrd.img.gz
cpio -idmv --no-absolute-filenames < assisted_initrd.img # this will unpack the archive into the current directory so maybe create a new dir and move there first
Another option is to query the initrd from the image service directly using the following path /api/assisted-install/v2/infra-envs/{infra-env-id}/downloads/minimal-initrd
assisted-service-image Service -> /api/assisted-install/v2/infra-envs/{infra-env-id}/downloads/minimal-initrd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment