diff options
| author | Mark Goddard <mark@stackhpc.com> | 2020-01-29 14:16:27 +0000 |
|---|---|---|
| committer | Mark Goddard <mark@stackhpc.com> | 2020-02-26 11:58:51 +0000 |
| commit | 27ed7f231d15a01d0bd8b62c557ab5f5875289c2 (patch) | |
| tree | 6bcd7319d7220e57e370c409f01fd1487680960a /docker/ironic | |
| parent | 63d566feaafd0cab6eeac9f88acd6ec7fc66b645 (diff) | |
| download | kolla-27ed7f231d15a01d0bd8b62c557ab5f5875289c2.tar.gz kolla-27ed7f231d15a01d0bd8b62c557ab5f5875289c2.zip | |
CentOS 8: Remove shellinabox from ironic-conductor
shellinabox is used by ironic-conductor to provide a browser-based shell
to access the consoles of nodes. It is not used by all console drivers,
and is not used in the integration with nova serial consoles.
The package was previously installed from EPEL7, but is not currently
provided by EPEL8.
This change removes the package to allow the ironic-conductor image to
build.
Change-Id: I210d9fddd6948dab1feb5abf59a50bce86f21f0f
Partially-Implements: blueprint centos-rhel-8
(cherry picked from commit 397651ec4b5b93a55d0b8b8f69dfb37dd85cfc8d)
Diffstat (limited to 'docker/ironic')
| -rw-r--r-- | docker/ironic/ironic-conductor/Dockerfile.j2 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/docker/ironic/ironic-conductor/Dockerfile.j2 b/docker/ironic/ironic-conductor/Dockerfile.j2 index ab5adc342..8df44e618 100644 --- a/docker/ironic/ironic-conductor/Dockerfile.j2 +++ b/docker/ironic/ironic-conductor/Dockerfile.j2 @@ -17,11 +17,12 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build 'openstack-ironic-staging-drivers', 'parted', 'psmisc', - 'shellinabox', 'util-linux', 'xfsprogs' ] %} + # FIXME(mgoddard): Removed shellinabox which is not currently provided + # by EPEL8. {% if distro_python_version.startswith('3') %} {% set ironic_conductor_packages = ironic_conductor_packages + [ 'python3dist\(ansible\)', @@ -44,6 +45,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build 'python-scciclient', 'python-sushy', 'python2-ImcSdk', + 'shellinabox', 'systemd-python' ] %} {% endif %} @@ -90,16 +92,18 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build 'ipmitool', 'parted', 'psmisc', - 'shellinabox', 'util-linux', 'xfsprogs', ] %} + # FIXME(mgoddard): Removed shellinabox which is not currently provided + # by EPEL8. {% if distro_python_version.startswith('3') %} {% set ironic_conductor_packages = ironic_conductor_packages + [ 'systemd-udev', ] %} {% else %} {% set ironic_conductor_packages = ironic_conductor_packages + [ + 'shellinabox', 'systemd', ] %} {% endif %} |
