diff --git a/doc/source/admin/dib.rst b/doc/source/admin/dib.rst index 0ebc348..91ce37b 100644 --- a/doc/source/admin/dib.rst +++ b/doc/source/admin/dib.rst @@ -28,6 +28,14 @@ You can specify the base name of the target images: ironic-python-agent-builder -o my-ipa centos7 +You can specify the arch of the target image by setting ``ARCH`` environment +variable (default is amd64): + +.. code-block:: shell + + export ARCH=aarch64 + ironic-python-agent-builder -o my-ipa fedora + ... with diskimage-builder ~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -66,6 +74,15 @@ To use a specific branch of ironic-python-agent, use: export DIB_REPOREF_ironic_python_agent=origin/stable/queens +To build image for architectures other than amd64, you can either set the +``ARCH`` environment variable or use ``-a`` to specify the target +architecture: + +.. code-block:: shell + + disk-image-create -a arm64 -o ironic-python-agent \ + ironic-python-agent-ramdisk fedora + ISO Images ~~~~~~~~~~