Add dynamic-login to our published images by default

It's very useful for debugging and does not expose access by default.

Change-Id: I3d34d65b5536a0a06184da44e12b8534c29300e5
This commit is contained in:
Dmitry Tantsur 2020-07-23 17:14:06 +02:00
parent 3e5ad55637
commit 4a415504f3
3 changed files with 7 additions and 0 deletions

View File

@ -130,6 +130,9 @@ time via the kernel command line parameters:
* Restart the ironic-conductor.
.. note::
This element is added to the published images by default.
The *devuser* element allows creating a user at build time, for example:
.. code-block:: bash

View File

@ -8,3 +8,4 @@ ipa_raw_dir: '{{ ansible_user_dir }}/src/opendev.org/openstack/ironic-python-age
ipa_tar_dir: '{{ ansible_user_dir }}/src/opendev.org/openstack/ironic-python-agent/UPLOAD_TAR'
dib_extra_args:
dib_from_source: true
extra_elements: ["dynamic-login"]

View File

@ -20,6 +20,9 @@
command: |
ironic-python-agent-builder -o {{ image_name }} -b HEAD -v
{{ "-r {}".format(image_release) if image_release else '' }}
{% for element in extra_elements %}
--element {{ element }}
{% endfor %}
{{ "--extra-args '{}'".format(dib_extra_args) if dib_extra_args else '' }}
{{ image_distro }}
environment: