Index: /drbl-virt/sbin/drbl_kvm_patch.sh
===================================================================
--- /drbl-virt/sbin/drbl_kvm_patch.sh	(revision 213)
+++ /drbl-virt/sbin/drbl_kvm_patch.sh	(revision 214)
@@ -64,4 +64,5 @@
 
 # = 3. Load KVM module when booting =
+# for Debian & Ubuntu
 if [ -e /etc/modules ]; then
     grep kvm /etc/modules
@@ -69,8 +70,20 @@
        echo "kvm" >> /etc/modules
     fi
-elif [ -e /etc/modules.conf ]
-    grep kvm /etc/modules.conf
+# for CentOS & Fedora
+elif [ -e /etc/sysconfig/modules ]
+    grep -r "modprobe kvm" /etc/sysconfig/modules/ 
     if [ $? -eq 1 ]; then
-        echo "kvm" >> /etc/modules.conf
+        cat  > /etc/sysconfig/modules/kvm.modules << EOF
+#!/bin/sh                 
+echo -n "Loading kvm module..."
+if $(/sbin/modprobe kvm)
+    then
+        echo "[SUCCESS]:"
+    else
+        echo "[FAILURE]:"
+fi
+EOF
+
+    chmod +x /etc/sysconfig/modules/kvm.modules
     fi
 fi
