Remove cockpit conf file
(cherry picked from commit 0d9a160afc51c235851a34ff2186ae4f09c13556)
This commit is contained in:
parent
9e2e85ef28
commit
3e6404cf47
@ -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
|
||||
@ -76,21 +76,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
|
||||
* Thu Jun 08 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 0.15.0-4
|
||||
- Remove cockpit conf file
|
||||
|
||||
* Tue May 30 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 0.15.0-3
|
||||
- Change require from ansible-2.9 to ansible
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user