incubator-cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edi...@apache.org
Subject git commit: cloud.spec: run modprobe post agent install if kvm.modules exists
Date Thu, 27 Sep 2012 05:06:52 GMT
Updated Branches:
  refs/heads/master daeac9ec5 -> 635155090


cloud.spec: run modprobe post agent install if kvm.modules exists

Signed-off-by: Edison Su <disheng.su@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/63515509
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/63515509
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/63515509

Branch: refs/heads/master
Commit: 635155090a52d050968e66fcfc5eaa4314f05d4f
Parents: daeac9e
Author: Marcus Sorensen <shadowsor@gmail.com>
Authored: Wed Sep 26 22:06:05 2012 -0700
Committer: Edison Su <disheng.su@gmail.com>
Committed: Wed Sep 26 22:06:39 2012 -0700

----------------------------------------------------------------------
 cloud.spec |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/63515509/cloud.spec
----------------------------------------------------------------------
diff --git a/cloud.spec b/cloud.spec
index 46dc602..342b525 100644
--- a/cloud.spec
+++ b/cloud.spec
@@ -387,6 +387,10 @@ else
     /sbin/service %{name}-agent condrestart >/dev/null 2>&1 || true
 fi
 
+if [ -x /etc/sysconfig/modules/kvm.modules ] ; then
+    /bin/sh /etc/sysconfig/modules/kvm.modules
+fi
+
 %post scripts
 rm -fr %{_libdir}/%{name}/agent
 ln -f -s %{_libdir}/%{name}/common %{_libdir}/%{name}/agent


Mime
View raw message