Add missing hostname package to bindep

There are calls to the `hostname` command, such as in function
`get_short_hostname()` from file `tripleoclient/utils.py`
there goes `subprocess.Popen(["hostname", "-s"], ...)`,
however in recent CentOS, RHEL and Fedora containers
this utility is not installed by default. Hence, it should be
listed in bindep file as necessary non-python dependency.

Change-Id: I8f2e7954c51313ba9e85c8a6452bf70b034f424a
(cherry picked from commit 4458dc93a2)
This commit is contained in:
Szymon Datko 2022-03-08 13:32:52 +01:00 committed by Szymon Datko
parent 884d3d52f1
commit 9496779d9d

View File

@ -1,6 +1,7 @@
# This is a cross-platform list tracking distribution packages needed by tests;
# see https://docs.openstack.org/infra/bindep/ for additional information.
hostname [platform:rpm test]
xfsprogs [platform:rpm test]
qemu-img [platform:rpm test]
dosfstools [platform:rpm test]