mirror of https://github.com/apache/cloudstack.git
EL8 uses rng-tools (#202)
This commit is contained in:
parent
744897ac31
commit
82879af238
|
|
@ -78,7 +78,7 @@ Requires: ipmitool
|
|||
Requires: %{name}-common = %{_ver}
|
||||
Requires: iptables-services
|
||||
Requires: qemu-img
|
||||
Requires: haveged
|
||||
Requires: rng-tools
|
||||
Requires: python3-pip
|
||||
Requires: python3-setuptools
|
||||
Requires: libgcrypt > 1.8.3
|
||||
|
|
@ -426,7 +426,7 @@ fi
|
|||
pip3 install %{_datadir}/%{name}-management/setup/wheel/six-1.15.0-py2.py3-none-any.whl %{_datadir}/%{name}-management/setup/wheel/setuptools-47.3.1-py3-none-any.whl %{_datadir}/%{name}-management/setup/wheel/protobuf-3.12.2-cp36-cp36m-manylinux1_x86_64.whl %{_datadir}/%{name}-management/setup/wheel/mysql_connector_python-8.0.20-cp36-cp36m-manylinux1_x86_64.whl
|
||||
|
||||
/usr/bin/systemctl enable cloudstack-management > /dev/null 2>&1 || true
|
||||
/usr/bin/systemctl enable --now haveged > /dev/null 2>&1 || true
|
||||
/usr/bin/systemctl enable --now rngd > /dev/null 2>&1 || true
|
||||
|
||||
grep -s -q "db.cloud.driver=jdbc:mysql" "%{_sysconfdir}/%{name}/management/db.properties" || sed -i -e "\$adb.cloud.driver=jdbc:mysql" "%{_sysconfdir}/%{name}/management/db.properties"
|
||||
grep -s -q "db.usage.driver=jdbc:mysql" "%{_sysconfdir}/%{name}/management/db.properties" || sed -i -e "\$adb.usage.driver=jdbc:mysql" "%{_sysconfdir}/%{name}/management/db.properties"
|
||||
|
|
|
|||
Loading…
Reference in New Issue