On Wed, 2019-10-09 at 17:52 +0200, Fabiano FidĂȘncio wrote:
+++ b/guests/lcitool
@@ -714,6 +714,14 @@ class Application:
{package_manager} autoremove -y && \\
{package_manager} clean all -y
""").format(**varmap))
+ else if os_name == "CentOS" and os_version == "7":
+ sys.stdout.write(textwrap.dedent("""
+ RUN {package_manager} update -y && \\
+ {package_manager} install -y epel-release && \\
+ {package_manager} install -y {pkgs} && \\
+ {package_manager} autoremove -y && \\
+ {package_manager} clean all -y
+ """).format(**varmap))
Unfortunately this is as gross as it is necessary :(
Reviewed-by: Andrea Bolognani <abologna(a)redhat.com>
--
Andrea Bolognani / Red Hat / Virtualization