From d6fb13651c834e60528db1bbc1261e331e0ff403 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Thu, 14 Jan 2016 13:58:36 -0500 Subject: [PATCH] Added kernel cleanup for EL in update_standalone.py --- automation/update_standalone.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automation/update_standalone.py b/automation/update_standalone.py index f10f470..d29afd9 100644 --- a/automation/update_standalone.py +++ b/automation/update_standalone.py @@ -25,7 +25,7 @@ JENKINS_URL = 'https://ci.lttng.org' DISTRO_LIST = ['el', 'sles', 'ubuntu'] DEFAULT_DISTRO = 'ubuntu' DISTRO_COMMAND = { - 'el': 'yum update -y && yum clean all', + 'el': 'yum update -y && package-cleanup -y --oldkernels --count=2 && yum clean all', 'sles': 'zypper --non-interactive refresh && zypper --non-interactive patch --auto-agree-with-licenses --with-interactive', 'ubuntu': 'apt-get update && apt-get dist-upgrade -V -y && apt-get clean && apt-get --purge autoremove -y', } -- 2.34.1