Remove deprecated ironic-agent element

ironic-agent is deprecated. Also replace disk-image-create
with ironic-python-agent-builder.

Change-Id: I6a3b5a31eda66b122a310119539fad6f8600ed80
This commit is contained in:
Madhuri Kumari 2019-12-12 12:11:58 +05:30
parent 8aa9b79c46
commit 22ab827796

View File

@ -14,8 +14,8 @@ the image. Below we will cover several ways to do this.
Access via ssh
--------------
diskimage-builder (DIB)
~~~~~~~~~~~~~~~~~~~~~~~
ironic-python-agent-builder
~~~~~~~~~~~~~~~~~~~~~~~~~~~
SSH access can be added to DIB built IPA images with the dynamic-login [0]_
or the devuser element [1]_
@ -29,12 +29,14 @@ dynamic-login element example:
- Restart the ironic-conductor with the command
``service ironic-conductor restart``
Install ``ironic-python-agent-builder`` following the guide [2]_
devuser element example::
export DIB_DEV_USER_USERNAME=username
export DIB_DEV_USER_PWDLESS_SUDO=yes
export DIB_DEV_USER_AUTHORIZED_KEYS=$HOME/.ssh/id_rsa.pub
disk-image-create -o /path/to/custom-ipa debian ironic-agent devuser
ironic-python-agent-builder -o /path/to/custom-ipa -e devuser debian
tinyipa
~~~~~~~
@ -62,8 +64,8 @@ Access via console
If you need to use console access, passwords must be enabled there are a
couple ways to enable this depending on how the IPA image was created:
diskimage-builder (DIB)
~~~~~~~~~~~~~~~~~~~~~~~
ironic-python-agent-builder
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Users wishing to use password access can be add the dynamic-login [0]_ or the
devuser element [1]_
@ -79,6 +81,8 @@ dynamic-login element example::
Users can also be added to DIB built IPA images with the devuser element [1]_
Install ``ironic-python-agent-builder`` following the guide [2]_
Example::
export DIB_DEV_USER_USERNAME=username
@ -143,3 +147,4 @@ References
==========
.. [0] `Dynamic-login DIB element`: https://github.com/openstack/diskimage-builder/tree/master/diskimage_builder/elements/dynamic-login
.. [1] `DevUser DIB element`: https://github.com/openstack/diskimage-builder/tree/master/diskimage_builder/elements/devuser
.. [2] `ironic-python-agent-builder`: https://docs.openstack.org/ironic-python-agent-builder/latest/install/index.html