Added kernel cleanup for EL in update_standalone.py
authorMichael Jeanson <mjeanson@efficios.com>
Thu, 14 Jan 2016 18:58:36 +0000 (13:58 -0500)
committerMichael Jeanson <mjeanson@efficios.com>
Thu, 14 Jan 2016 18:58:36 +0000 (13:58 -0500)
automation/update_standalone.py

index f10f470e38759b775f83a42a00c0a5adf8845a18..d29afd9a3e200ad6dd86bd1611c9d77259bfebf0 100644 (file)
@@ -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',
 }
This page took 0.024575 seconds and 4 git commands to generate.