ansible-role-tripleo-modify.../files/rpm_install.sh
Chandan Kumar 410408ef1b Ported tripleo-modify-image to py3
It makes yum and pip installs work with py3 packages. The package manager
dnf/yum and pip binary are determined at run time from the OS.

Use dnf-plugins-core for dnf with respect to
yum-plugin-priorities.

Use pipefail with set -ex to fix linter errors.

Change-Id: I997509204e30abb8b21ef936ea44440fbaa5a0e4
Closes-Bug: #1813546
2019-02-18 18:22:40 +05:30

8 lines
93 B
Bash
Executable File

#!/bin/sh
set -eox pipefail
rpm -Uvh /tmp/*.rpm
rm -f /tmp/*.rpm
rm -f /tmp/rpm_install.sh