Add words on building image for other architecture

Change-Id: I2ca2a574ba84f44dfbfa197d80c14ac0e4c59de2
This commit is contained in:
Kaifeng Wang 2019-12-04 11:05:14 +08:00
parent a34dfda613
commit 0916598653

View File

@ -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
~~~~~~~~~~