mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-9076: Changed ownership of directory /var/lib/cloudstack to cloud.
This commit is contained in:
parent
3f7a86d8ef
commit
1e73f667c9
|
|
@ -121,6 +121,7 @@ class cloudManagementConfig(serviceCfgBase):
|
||||||
#distro like sl 6.1 needs this folder, or tomcat6 failed to start
|
#distro like sl 6.1 needs this folder, or tomcat6 failed to start
|
||||||
checkHostName()
|
checkHostName()
|
||||||
bash("mkdir /var/log/cloudstack-management/")
|
bash("mkdir /var/log/cloudstack-management/")
|
||||||
|
bash("chown cloud:cloud -R /var/lib/cloudstack")
|
||||||
#set max process per account is unlimited
|
#set max process per account is unlimited
|
||||||
if os.path.exists("/etc/security/limits.conf"):
|
if os.path.exists("/etc/security/limits.conf"):
|
||||||
cfo = configFileOps("/etc/security/limits.conf")
|
cfo = configFileOps("/etc/security/limits.conf")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue