Skip to content

Commit 32595f4

Browse files
committed
package: create /var/lib/cloudstack/management directory
Fixes #11593 Ensure that the RPM package creates the /var/lib/cloudstack/management directory during installation. This provides a consistent location for management server state and runtime data, avoiding the need for manual directory creation. Signed-off-by: Abhishek Kumar <[email protected]>
1 parent 8089d32 commit 32595f4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packaging/el8/cloud.spec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -636,6 +636,7 @@ pip3 install --upgrade /usr/share/cloudstack-marvin/Marvin-*.tar.gz
636636
%{_datadir}/%{name}-management/setup/wheel/*.whl
637637
%dir %attr(0755,cloud,cloud) %{_sysconfdir}/%{name}/extensions
638638
%attr(0755,cloud,cloud) %{_sysconfdir}/%{name}/extensions/*
639+
%dir %attr(0770,cloud,cloud) %{_localstatedir}/lib/%{name}/management
639640

640641
%files agent
641642
%attr(0755,root,root) %{_bindir}/%{name}-setup-agent

0 commit comments

Comments
 (0)