Skip to content

Commit 8f3099d

Browse files
committed
own templates directory itself
Signed-off-by: Abhishek Kumar <[email protected]>
1 parent d81283a commit 8f3099d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

debian/cloudstack-management.postinst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ if [ "$1" = configure ]; then
5656
chmod 0640 ${CONFDIR}/${DBPROPS}
5757
chgrp cloud ${CONFDIR}/${DBPROPS}
5858
chown -R cloud:cloud /var/log/cloudstack/management
59+
chown -R cloud:cloud /usr/share/cloudstack-management/templates
5960

6061
ln -sf ${CONFDIR}/log4j-cloud.xml ${CONFDIR}/log4j2.xml
6162

debian/rules

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ override_dh_auto_install:
8484
cp client/target/lib/*jar $(DESTDIR)/usr/share/$(PACKAGE)-management/lib/
8585
cp -r engine/schema/dist/systemvm-templates/* $(DESTDIR)/usr/share/$(PACKAGE)-management/templates/systemvm/
8686
rm -rf $(DESTDIR)/usr/share/$(PACKAGE)-management/templates/systemvm/md5sum.txt
87-
chown -R cloud:cloud /usr/share/$(PACKAGE)-management/templates/systemvm
8887

8988
# Bundle cmk in cloudstack-management
9089
wget https://github.com/apache/cloudstack-cloudmonkey/releases/download/$(CMK_REL)/cmk.linux.x86-64 -O $(DESTDIR)/usr/bin/cmk

packaging/el8/cloud.spec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -610,8 +610,8 @@ pip3 install --upgrade /usr/share/cloudstack-marvin/Marvin-*.tar.gz
610610
%{_datadir}/%{name}-management/setup/*.sh
611611
%{_datadir}/%{name}-management/setup/server-setup.xml
612612
%{_datadir}/%{name}-management/webapp/*
613-
%dir %attr(0770, cloud, cloud) %{_datadir}/%{name}-management/templates/systemvm
614-
%attr(0644, cloud, cloud) %{_datadir}/%{name}-management/templates/systemvm/*
613+
%dir %attr(0770, cloud, cloud) %{_datadir}/%{name}-management/templates
614+
%attr(0644, cloud, cloud) %{_datadir}/%{name}-management/templates/*
615615
%attr(0755,root,root) %{_bindir}/%{name}-external-ipallocator.py
616616
%attr(0755,root,root) %{_initrddir}/%{name}-ipallocator
617617
%dir %attr(0770,root,root) %{_localstatedir}/log/%{name}/ipallocator

0 commit comments

Comments
 (0)