Merge "Add dynamic-login to our published images by default"

This commit is contained in:
Zuul 2020-07-27 12:28:46 +00:00 committed by Gerrit Code Review
commit 5c9bc36232
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: