Browse Source

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

changes/36/743536/1
Zuul 1 week ago
committed by Gerrit Code Review
parent
commit
5c9bc36232
3 changed files with 7 additions and 0 deletions
  1. +3
    -0
      doc/source/admin/dib.rst
  2. +1
    -0
      roles/ipa-build-dib-image/defaults/main.yaml
  3. +3
    -0
      roles/ipa-build-dib-image/tasks/main.yaml

+ 3
- 0
doc/source/admin/dib.rst 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


+ 1
- 0
roles/ipa-build-dib-image/defaults/main.yaml 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"]

+ 3
- 0
roles/ipa-build-dib-image/tasks/main.yaml 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:


Loading…
Cancel
Save