5.15. Deploying and testing an Anaconda add-on


You can deploy and test your own Anaconda add-on into the installation environment. To do so, follow the steps:

Prerequisites

  • You created an Add-on.
  • You have access to your D-Bus files.
  • You have installed the lorax package.

Procedure

  1. Create a directory DIR at the place of your preference.
  2. Add the Add-on python files into DIR/usr/share/anaconda/addons/.
  3. Copy your D-Bus service file into DIR/usr/share/anaconda/dbus/services/.
  4. Copy your D-Bus service configuration file to /usr/share/anaconda/dbus/confs/.
  5. Create the updates image.

    Access the DIR directory:

    cd DIR

    Locate the updates image.

    find . | cpio -c -o | pigz -9cv > DIR/updates.img
  6. Use the mkksiso utility to include the updates image into the ISO boot image:

    sudo mkksiso -u updates.img boot.iso new_boot.iso
  7. Boot the resulting new_boot.iso.

    It automatically applies the embedded updates image with the addon, resulting in your addon being used during installation.

    For specific instructions on unpacking an existing boot image, creating a product.img file and repackaging the image, see Extracting Red Hat Enterprise Linux boot images.

Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

关于红帽文档

Legal Notice

Theme

© 2026 Red Hat
返回顶部