mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
cloud.spec: run modprobe post agent install if kvm.modules exists
Signed-off-by: Edison Su <disheng.su@gmail.com>
This commit is contained in:
parent
daeac9ec57
commit
635155090a
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user