From 1af9d7757d69caa7ce98494dcfe846aa489a2d5b Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Thu, 1 Dec 2011 10:44:02 -0800 Subject: [PATCH] Remove crontabs when deploying devstack vms. Change-Id: Ib33844e2ffb9f70332527ae7af4e443aa571034c --- slave_scripts/devstack-vm-gate-host.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/slave_scripts/devstack-vm-gate-host.sh b/slave_scripts/devstack-vm-gate-host.sh index 7cc9ed2a..72fad076 100755 --- a/slave_scripts/devstack-vm-gate-host.sh +++ b/slave_scripts/devstack-vm-gate-host.sh @@ -20,6 +20,11 @@ # limitations under the License. set -o errexit + +# Remove any crontabs left over from the image +sudo crontab -u root -r || /bin/true +sudo crontab -u jenkins -r || /bin/true + cd workspace DEST=/opt/stack