mirror of https://github.com/apache/cloudstack.git
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
This commit is contained in:
parent
9fd5a81809
commit
fa26eaafbd
|
|
@ -368,6 +368,7 @@ sed -i /"cloud soft nofile"/d /etc/security/limits.conf
|
|||
echo "cloud hard nofile 4096" >> /etc/security/limits.conf
|
||||
echo "cloud soft nofile 4096" >> /etc/security/limits.conf
|
||||
rm -rf %{_localstatedir}/cache/cloud
|
||||
rm -rf %{_localstatedir}/cache/cloudstack
|
||||
# user harcoded here, also hardcoded on wscript
|
||||
|
||||
# save old configs if they exist (for upgrade). Otherwise we may lose them
|
||||
|
|
|
|||
Loading…
Reference in New Issue