Remove cockpit conf file

This commit is contained in:
yanjianqing 2024-04-01 10:04:16 +08:00
parent 789b945ec3
commit 7783d6ee78

View File

@ -11,7 +11,7 @@
Name: cockpit-ovirt
Version: 0.15.0
Release: 3
Release: 4
Summary: Dashboard for Cockpit based on %{product}
License: ASL 2.0
URL: https://gerrit.ovirt.org/gitweb?p=cockpit-ovirt.git;a=summary
@ -85,21 +85,16 @@ make install DESTDIR=%{buildroot}
# Create /var/lib/ovirt-hosted-engine-setup/cockpit
install -dm 700 %{buildroot}%{_sharedstatedir}/ovirt-hosted-engine-setup/cockpit
# Create cockpit conf file to disable inactivity timeout
mkdir -p %{buildroot}/etc/cockpit/
cat <<__EOF__ >%{buildroot}/etc/cockpit/cockpit.conf
[Session]
IdleTimeout=0
__EOF__
%files dashboard
%doc README.md
%license LICENSE
%config /etc/cockpit/cockpit.conf
%{_plugindir}/ovirt-dashboard
%dir %attr(700, root, root) %{_sharedstatedir}/ovirt-hosted-engine-setup/cockpit
%changelog
* Mon Apr 01 2024 yanjianqing <yanjianqing@kylinos.cn> - 0.15.0-4
- Remove cockpit conf file
* Thu Mar 02 2023 wangdi <wangdi@kylinos.cn> - 0.15.0-3
- Change hardcoded deafult hash algorithm from legacy md4 to sha512
- Change dependecy from ansible-2.9 to ansible since ansible version has bumped to 2.9