Skip to content

Commit fa26eaa

Browse files
rayeesnfrank
authored andcommitted
CLOUDSTACK-4509 : management cache folder need to cleanup before upgrade, currently its cleaning up only for 3.x upgrade ie /var/cache/cloud, it should do that same for 4.2 also /var/cache/cloudstack
1 parent 9fd5a81 commit fa26eaa

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packaging/centos63/cloud.spec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,7 @@ sed -i /"cloud soft nofile"/d /etc/security/limits.conf
368368
echo "cloud hard nofile 4096" >> /etc/security/limits.conf
369369
echo "cloud soft nofile 4096" >> /etc/security/limits.conf
370370
rm -rf %{_localstatedir}/cache/cloud
371+
rm -rf %{_localstatedir}/cache/cloudstack
371372
# user harcoded here, also hardcoded on wscript
372373

373374
# save old configs if they exist (for upgrade). Otherwise we may lose them

0 commit comments

Comments
 (0)