CLOUDSTACK-9076: Changed ownership of directory /var/lib/cloudstack to cloud.

This commit is contained in:
Boris Schrijver 2015-11-23 00:05:53 +01:00
parent 3f7a86d8ef
commit 1e73f667c9

View File

@ -121,6 +121,7 @@ class cloudManagementConfig(serviceCfgBase):
#distro like sl 6.1 needs this folder, or tomcat6 failed to start
checkHostName()
bash("mkdir /var/log/cloudstack-management/")
bash("chown cloud:cloud -R /var/lib/cloudstack")
#set max process per account is unlimited
if os.path.exists("/etc/security/limits.conf"):
cfo = configFileOps("/etc/security/limits.conf")