From e20bf065f76a58c2f59f628c9e5d149c5cb71aa1 Mon Sep 17 00:00:00 2001 From: Athmane Madjoudj Date: Mar 17 2012 07:43:06 +0000 Subject: Stop some services before testing --- diff --git a/utils/cleanup_vm.sh b/utils/cleanup_vm.sh index 3c529a6..1e30ee8 100644 --- a/utils/cleanup_vm.sh +++ b/utils/cleanup_vm.sh @@ -3,6 +3,26 @@ # you will almost never want to run this script. # $1 = file name ( full path ) with rpms to retain +# stop some services +service httpd stop +service libvirtd stop +service mailman stop +service mysqld stop +service named stop +service nfs stop +service portmap stop +service postfix stop +service postgresql stop +service radiusd stop +service rpcbind stop +service sendmail stop +service smb stop +service snmpd stop +service squid stop +service vsftpd stop +service xinetd stop + +# packages cleanup rm /tmp/yum-cleanup for f in `rpm -qa`; do